-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use in studio 3.0.1 and can not find 'xyz.sahildave.mylibrary' #2
Comments
library build.gradleapply plugin: 'com.android.library' android {
}
|
in android studio 3.0.1 , gradle-4.1-all.
the project build failed,can`t find the class.
output details:
C:\Users\Administrator\Desktop\Flavored-Library-master\app\src\main\java\xyz\sahildave\flavoredlibrary\MainActivity.java:7: 错误: 程序包xyz.sahildave.mylibrary不存在
import xyz.sahildave.mylibrary.LibraryActivity;
^
C:\Users\Administrator\Desktop\Flavored-Library-master\app\src\main\java\xyz\sahildave\flavoredlibrary\MainActivity.java:15: 错误: 找不到符号
Intent intent = new Intent(this, LibraryActivity.class);
^
符号: 类 LibraryActivity
位置: 类 MainActivity
2 个错误
FAILED
FAILURE: Build failed with an exception.
Execution failed for task ':app:compileApp1521DebugJavaWithJavac'.
but gradle config sysc is no error.
The text was updated successfully, but these errors were encountered: