![]() ![]() I can successfully build the project(A) if anycodings_android-studio remove the import. ![]() Jni.srcDirs = //disable automatic ndk-build callĬommandLine 'ndk-build.cmd', '-C', file('src/main/jni').absolutePathĬommandLine '/opt/adt-bundle-linux/android-ndk-r8e/ndk-build', '-C', file('src/main/jni').absolutePathĬompileTask -> pendsOn ndkBuildĬompile ':support-v4:18.0.0' If Studio doesnt start after an upgrade, the problem may be due to an invalid Android Studio configuration imported from a previous version of Android Studio. Then try closing and checking the Windows Task Manager to make sure studio64.exe has completely closed and the process has stopped running, then restart Android Studio. ProguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'Ĭompile fileTree(dir: 'libs', include: )Ĭompile ':appcompat-v7:21.0.3'ī's build file import . If you have Android Studio start with 'Sync Project with Gradle Files' (there should be an icon for it in the ribbon by default). Error Error:(22, 23) error: cannot find symbol class PreferencesĪ's build file apply plugin: '' Preferences is anycodings_android-studio a class of project B. Now i anycodings_android-studio can import B's class in A without any error anycodings_android-studio (in editor) but can't build. I have added anycodings_android-studio dependencies in A's Gradle build file. ![]() I have two project A and B where B is added anycodings_android-studio as a module of project A. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |