java - Change compiledSdkVersion in Aide (Android) -
i learning how build android app using java. since don't have pc right now, using android phone mean time. using aide app.
i following project https://github.com/sagar-viradiya/android-design-support-lib-demo/blob/master/app/build.gradle have no luck in building , running app.
dependencies { compile filetree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.android.support:recyclerview-v7:22.2.0' compile 'com.android.support:cardview-v7:22.2.0' compile 'com.android.support:design:22.2.0' compile 'com.android.support:support-v4:22.2.0' }
since dependencies of project on version 22.2.0, , built-in compiledsdkversion in aide 19 got error like:
'aapt: error retrieving parent item: no resource found matches given name textappearance.appcompat.caption'
i searched why have error online , found out because compiledsdkversion , dependency versions i'm using doesn't coincide. try change compiled version 22 , change android.jar directory point new downloaded version in aide settings. downloaded jar file here https://github.com/sourcegraph/android-sdk-jars/tree/master/platforms/android-22.
still got error. gives me new error in mainactivity.java unknown entity 'r'. please me, cannot find resources fix this.
Comments
Post a Comment