-
Notifications
You must be signed in to change notification settings - Fork 914
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
Application has stopped (Android) #2167
Comments
Please share your project files on Github. |
Same here, will do update on my github repo |
Having the exact same issue. The error i'm getting is: According to what i've read so far, the issue should be able to be resolved by updating some dependencies, going to try that now and update here if I manage something. |
Without project files, how can I reproduce your issue? |
I managed to resolve my issue, was able to build successfully with play services v4.26 dependencies { After that it built successfully and the app did not crash on load anymore. |
I am having the same problem on ionic. Using version 2.2.8 of the plugin. iOS working fine. If i remove the googlemaps plugin completely the app run fine. I have ci/cd so changing the android native app is not an option. I will work on providing a sample project today. You will need to use your own maps keys as a reminder when I submit. |
@DifferentialityDevelopment |
@lsilva23 I think you would need a custom hook. But I have not done that for the android gradle stuff. It might be best to wait for a fix on this from the plugin owners... something happened between 2.2.5 and the latest to create this break. I am sure it can be resolved on their end... hopefully. |
I'm using the Ionic framework which uses cordova, you'll find the gradle file you need to edit under /platforms/android/app/build.gradle, The version I was using when it happened was 11.8.0 and after changing to + the issue went away. |
@StobyWan This is not bug, it's just conflict with other plugin, such as the google-plus plugin. |
@wf9a5m75 This is my Project: http://sistema.99car.club/pdrcar.apk |
Please share your project files on Github. |
And on my build log in Phonegap I am getting this: Explanation for issues of type "MissingTranslation": If the string should not be translated, you can add the attribute By default this detector allows regions of a language to just provide a You can tell lint (and other tools) which language is the default language 3 errors, 0 warnings |
@wf9a5m75 I can't seem to agree on this, the app works fine but only causes this issue for me on the lowest supported android version of API 19, ie 4.4.4. @lsilva23 I don't think those translation issues are related to the crash. |
@DifferentialityDevelopment |
@lsilva23 Does your app crash on startup or on install? |
@DifferentialityDevelopment On startup! It build successful on Phonegap and Install successful on Android 5.1/7.0 |
@lsilva23 Did you try the fix I stated earlier of modifying the build.gradle file? |
@DifferentialityDevelopment I can't find my build.gradle file, I will post my project files so you can see how I am doing this |
I fixed!
Thank you guys for your time! |
Lol, glad you got it fixed. |
If you were a plugin developer, and someone reports only logs, what whould you do? I don't like it. That's why I ask for everyone to share the project files. Because this is shortest way to solve the problem. You don't agree it? Please just debug the issue by yourself. |
@wf9a5m75 I will try to upload my project file (plugin) tomorrow (23 March) from airport, because then I get some time do rebuild my project. I will let you know about it if you want, ok? |
Yeah, let me know when you are ready please. |
Adding <variable name="PLAY_SERVICES_VERSION" value="+" /> did the trick, it may be that 11.8.0 should change to 12.0.0 in the future. |
@Hackeo Ah! Thanks for that! |
Plugin configuration is responsibility of app developer, not me, because it's depends on |
Since it seems the reason is the build configuration, and everyone are solved thier problems, I close this thread. |
I have this bug.
Yesterday I was building normally.
Today phonegap is compiling but when I install on Android I get this error:
The text was updated successfully, but these errors were encountered: