-
Notifications
You must be signed in to change notification settings - Fork 406
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The plugin stops working with "Invalid number" issue #88
Comments
I don't think this is an issue with this package. Do you know where that FormatException is being throw? Such as the file and line number |
Somehow after I restarted the mac, it backs on working again.... I have no idea how it is fixed. Will close it anyway. |
It happens again, now I know why. In the plugin code, it actually loads all text from gradle file and look for the minSdk assignment line for the number. Unfortunately, in my case im use a global variable so it couldn't read the number. Change it back to number solves the problem. |
It is closed but I also meet the problem. because of in the
I can resolve by replacing it the number. |
I got lit. it was customized like this. in
If I have a time, I try to fix the external file supports. |
I ran into the same error when I had defined my extension in android/build.gradle:
Passing the numbers directly in Is there a separate open issue for this? |
In my case, I have in
Removing the line |
I fixed with this PR it's not great but I dunno where to find minSdk so I just handled the exception gracefully and fall back to the already present return 0 |
Any update on this bug?
Any update on this bug? I've just created a new project and added the plugin for testing and getting the following error:
|
j'ai remplacé : et ça marche à merveille |
you can define another variable with the minSdkVersion in app.gradle just make sure it is defined above defaultConfig and this a work around , you will have two minSdkVersion variables. |
As you can see it just stops working as below:
Here is my config:
And my SDK version:
The text was updated successfully, but these errors were encountered: