AdoBot icon indicating copy to clipboard operation
AdoBot copied to clipboard

Error in compiling APK

Open mukhlis7 opened this issue 6 years ago • 2 comments

When i try to sync the project i got this error every time

WARNING: The specified Android SDK Build Tools version (28.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.4.1. Android SDK Build Tools 28.0.3 will be used. To suppress this warning, remove "buildToolsVersion '28.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools. Remove Build Tools version and sync project Affected Modules: app

And there is another error

Schema export directory is not provided to the annotation processor so we cannot export the schema. You can either provide room.schemaLocation annotation processor argument OR set exportSchema to false.

And

/root/AdoBot/app/src/main/java/com/android/adobot/SmsBroadcastReceiver.java: uses or overrides a deprecated API. Recompile with -Xlint:deprecation for details. Some input files use unchecked or unsafe operations. Recompile with -Xlint:unchecked for details.

help me in resolving this issue i am not a good android developer

mukhlis7 avatar Jun 15 '19 09:06 mukhlis7

WARNING: The specified Android SDK Build Tools version (28.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.4.1.

Means your gradle version runs on higher andriod api's ,just place the api number suitable for the gradle....as it is just a warning its ok to build also.

chaitanyantr avatar Jun 16 '19 19:06 chaitanyantr

ok sir i got it thanks

mukhlis7 avatar Jun 18 '19 14:06 mukhlis7