Skip to content

Update AndroidManifest.xml #11

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

srmeier
Copy link

@srmeier srmeier commented Feb 9, 2019

In order to get the tutorial to work I had to make the following changes. According to the links below this is the correct approach.

Discussion on the issue:
https://stackoverflow.com/questions/50461881/java-lang-noclassdeffounderrorfailed-resolution-of-lorg-apache-http-protocolve

Proposed approach:
https://developers.google.com/maps/documentation/android-sdk/config#specify_requirement_for_apache_http_legacy_library

If your app is targeting API level 28 (Android 9.0) or above, you must include the following declaration within the element of AndroidManifest.xml.

In order to get the tutorial to work I had to make the following changes. According to the links below this is the correct approach.

Discussion on the issue:
https://stackoverflow.com/questions/50461881/java-lang-noclassdeffounderrorfailed-resolution-of-lorg-apache-http-protocolve

Proposed approach:
https://developers.google.com/maps/documentation/android-sdk/config#specify_requirement_for_apache_http_legacy_library

"If your app is targeting API level 28 (Android 9.0) or above, you must include the following declaration within the <application> element of AndroidManifest.xml."
@aRealBanana
Copy link

In order to get the tutorial to work I had to make the following changes. According to the links below this is the correct approach.

Discussion on the issue:
https://stackoverflow.com/questions/50461881/java-lang-noclassdeffounderrorfailed-resolution-of-lorg-apache-http-protocolve

Proposed approach:
https://developers.google.com/maps/documentation/android-sdk/config#specify_requirement_for_apache_http_legacy_library

If your app is targeting API level 28 (Android 9.0) or above, you must include the following declaration within the element of AndroidManifest.xml.

My app was crashing, changed this and now its working!
Best Regards.

@simon-k
Copy link

simon-k commented Dec 6, 2022

I actually think this line was added by somebody else to the main branch after this PR was created. So no need to merge this.

I still can't get it to run in the simulator though...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants