android - error: package xxx does not exist . how do include packages in the build correctly? -
i'm trying utilize project android-wheel https://code.google.com/p/android-wheel/ android studio.
i imported them modules , set dependency 'wheel' build.gradle of 'wheeldemo'.
when building gradle shows errors, packages not exist, though imports in java file don't show errors:
i'm not sure, i'm missing here. might obvious, since i'm not familiar android programming, yet.
edit: here build.gradle of wheeldemo module:
apply plugin: 'android' android { compilesdkversion 19 buildtoolsversion '19.1.0' defaultconfig { applicationid 'kankan.wheel.demo' minsdkversion 19 } buildtypes { release { runproguard false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.txt' } } productflavors { } } dependencies { compile project(':wheel') }
make sure build.gradle of "wheel" has right plugin type. should 'android-library' instead of 'com.android.application'.
android android-studio android-gradle
No comments:
Post a Comment