Closed abardik closed 6 years ago
The issue is started from 1.1.1 (1.1.0 is built successfully for both platforms). Strating from 1.1.1 it's failed for Android (for iOS everything is ok).
This is due to a change that requires you to update your Android SDK. Look at #27 to guide you through. We'll likely add this to README.md pretty soon.
@D-Marc1 Thank you for the refference, I didn't look to the closed issues. So, regarding to PGB, do I need to just change android-targetSdkVersion to 26? What about android-minSdkVersion? Now I have 21 (Android 5).
No, this has nothing to do with that. You have to update your SDK in Android Studio to 26 or higher. You'll also need to make sure your cordova-android is 6.2.3 or higher for your platform
But I use PhoneGap Build (cli 7.0.1, cordova-android 6.2.3), not Android Studio.
That seems like it should be fine. I've never used Phonegap Build, but I assume it would have the correct API level corresponding to it. If you tried it with what you stated, then the only other things I could think of is for you to try changing the targetSDK like you said, or upgrade cordova-android to a higher version if it still doesn't work. Other then that, I'm not really sure what else.
android-targetSDKVersion changed to 26 with no result. I still can use 1.1.0 and wait until PGB upgrade their SDK. Thank you for your help.
That's good at least. Hopefully they'll update it soon.
PGB could not build the last version of CordovaCall for Android. Please, see the PGB log attached.