jbendtsen / tiny-android-template

Minimalist Android Project w/o Gradle
MIT License
42 stars 6 forks source link

Unable to link external libraries #5

Open MrFoxPro opened 10 months ago

MrFoxPro commented 10 months ago

Thanks for you work on this. I tried to build from master branch:

./get-packages.sh ./pkg-list.txt && ./export-libs.pl && ./link.pl 
webkit-1.9.0: OK
Extracting library resources and classes...
Merging library resources...
Writing values XMLs...
Compiling library resources...
Compiling project resources...
Linking resources...
Generating project R.txt...
Updating resource IDs...
Generating library resource maps...
R.txt for webkit-1.9.0 is missing, skipping...
Compiling resource maps...
error: no source files

pkg-list.txt:

androidx.webkit:webkit:1.9.0

I tried Perl v5.38.0 and v5.36.0 Android SDK 34.0.0 and 29.0.3 Android target platform: 33 and 29 7z 17.05 JDK 11 and 17

Artifacts: image

MrFoxPro commented 10 months ago

It works if I place webkit with other packages:

loader 1.1.0
androidx.webkit:webkit:1.9.0

But then, there are some cases where info array has length of 2:

g 0x7f060064 

Compiling resource maps...
lib/res/r_java/webkit-1.9.0/R.java:6: error: <identifier> expected
        public static final class 0x7f060064 {
                                 ^
lib/res/r_java/webkit-1.9.0/R.java:7: error: <identifier> expected
                public static final g =;
                                     ^
lib/res/r_java/webkit-1.9.0/R.java:7: error: illegal start of expression
                public static final g =;
                                       ^
3 errors