[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with Bundletool update



Thanks Hc!

I was able to figure out, through help from Markus , they were actually classes generated by the protobuf compiler.

So the error was resolved after I ran protoc command before jh_build.

Please I have another challenge of not being able to figure out where aapt and android-libaapt are installed in Debian. I've searched through /usr/share/java after installing them but can't find any matching jars. The only things that I found that came close are:

android-libaapt: /usr/lib/x86_64-linux-gnu/android/libaapt.so
android-libaapt: /usr/lib/x86_64-linux-gnu/android/libaapt.so.0

After adding these to CLASSPATH, I still get "error: package com.android.aapt.Resources does not exist"

Regards,

Sonnie

On 7/20/22 17:07, Hans-Christoph Steiner wrote:

Those are mysterious dependencies.  I could only find references to them in https://cs.android.com. ; Maybe they are auto-generated by the bundletool build system? com.android.bundle.Config seems like that kind of thing, like BuildConfig in Android projects.

.hc

Nkwuda Sunday Cletus:
Hi there,

I 'm stuck on this error: https://www.easypastes.tk/pastes/GSzMEx , while trying to package bundletool (https://github.com/google/bundletool ) for Debian.

Please I need help on where to find these packages in Debian:

com.android.bundle.CodeTransparencyOuterClass,

com.android.bundle.Config,

com.android.bundle.SdkBundleConfigProto,

com.android.bundle.SdkModulesConfigOuterClass,

com.android.bundle.Targeting,

com.android.bundle.Commands,

com.android.aapt.Resources,

Inspecting bundletool on Vscode, I see all imports from com.android.bundle* are underlined red as not resolved, though `gradle build` workflow still works

Regards,

Sonnie



Attachment: OpenPGP_0x64C708814523D373.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


Reply to: