when i run ./buckw install, it builds success, but raise 'cannot find symbol'
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
> Configure project :data
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/leon/Library/Android/sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
WARNING: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum supported version (28.0.2) for Android Gradle Plugin 3.2.0.
Android SDK Build Tools 28.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
> Configure project :permission:permission-lib
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory. It is currently set to /Users/leon/Library/Android/sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.
WARNING: The specified Android SDK Build Tools version (27.0.3) is ignored, as it is below the minimum supported version (28.0.2) for Android Gradle Plugin 3.2.0.
Android SDK Build Tools 28.0.2 will be used.
To suppress this warning, remove "buildToolsVersion '27.0.3'" from your build.gradle file, as each version of the Android Gradle Plugin now has a default version of the build tools.
BUILD SUCCESSFUL in 53s
37 actionable tasks: 37 executed
PROCEEDING WITH BUCK
Build failed: Command failed with exit code 1.
stderr: /data/com/room/MyClassDatabase_Impl.java:25: error: 找不到符号
@Generated("android.arch.persistence.room.RoomProcessor")
^
符号: 类 Generated
位置: 程序包 javax.annotation
Errors: 100. Warnings: 0.
When running <javac>.
When building rule //data:src_debug.
Parsing buck files: finished in 10.0 sec (100%)
Building: finished in 15.4 sec (100%) 841/886 jobs, 15 updated
Total time: 25.1 sec
error
cannot find symbol: Generated and all the get method generated by lombok
@Generated("android.arch.persistence.room.RoomProcessor")
@SuppressWarnings("unchecked")
public class MyClassDatabase_Impl implements MyClassDatabase {
private final RoomDatabase __db;
}
when i run
./buckw install
, it builds success, but raise 'cannot find symbol'error cannot find symbol:
Generated
and all the get method generated by lombokMyClassDatabase.java
buck-out/data/str_debug_source/com/room/MyClassDatabase_Impl.java
and the build.gradle of module data