question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

7.1.4 defaults to android-27

See original GitHub issue

It seems that the android-targetSdkVersion is ignored in 7.1.4 if it exceeds android-27.

Some libraries have started to require android-28.

Please advise.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
Riyaz0001commented, Feb 10, 2019

simply add this plugin solved this problem: cordova-android-support-gradle-release

1reaction
brodybitscommented, Nov 27, 2018

@maurocolella what you see in build.gradle are default values. You should see the correct values in the uses-sdk element in platforms/android/app/src/main/AndroidManifest.xml.

When I tried with the recommended preferences along with cordova-plugin-crosswalk-webview, I got platforms/android/app/src/main/AndroidManifest.xml with the correct values:

    <uses-sdk android:minSdkVersion="19" android:targetSdkVersion="28" />

In case you continue to see an issue a demo project would be really helpful.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Android 7.1 Compatibility Definition
This document enumerates the requirements that must be met in order for devices to be compatible with Android 7.1.
Read more >
ionic cordova platform add android Source path does not exist
and when i run platform ls i am found android@7.1.4 in install platform but on ionic project folder no create any directory to...
Read more >
Google requires SDK 28 starting Nov 1st 2019 - Meteor forums
Meteor's Cordova integration uses cordova-android 7.1.4 (changelog), which according to cordova docs supports only API levels 19 - 27 (link).
Read more >
Mac ionic fails with Check your ANDROID_SDK_ROOT value
Trying to emulate Android device on my Mac 10.14.2 with: export ANDROID_HOME=/Users/me/Library/Android/sdk export ...
Read more >
آموزش خروجی اندروید روی سیستم ... - انجمن تخصّصی کانستراکت
Android target: android-27. Android project created with cordova-android@7.1.4. Android Studio project detected
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found