Re: [android-building] build java+kolin library with build.bp failed

2019-03-13 Thread Ted Jiang
I build on Android 9 AOSP. removing the redundant doesn't help, the errors still exist. On Tuesday, March 12, 2019 at 2:00:13 PM UTC+8, Dan Willemsen wrote: > > I'm not sure what's happening here, but a few questions/comments: > > What Android version are you using? > > srcs: [ >>

Re: [android-building] build java+kolin library with build.bp failed

2019-03-12 Thread 'Dan Willemsen' via Android Building
I'm not sure what's happening here, but a few questions/comments: What Android version are you using? srcs: [ > "*.java", > "*.kt", > "**/*.java", > "**/*.kt", > ], This will duplicate the list of java and kotlin files in the current directory, since **

[android-building] build java+kolin library with build.bp failed

2019-03-11 Thread Ted Jiang
this is my build.bp: java_library_static { name: "mylib", srcs: [ "*.java", "*.kt", "**/*.java", "**/*.kt", ], optimize: { enabled: false, }, } but it yields very strange errors when building, like: SysProperty.kt:9:16: