Comments (8)
These classes are generated from the protobuf files. It looks like you haven't configured bundletool/build/generated/source/proto/main/java
to be one of the sources of the project.
from bundletool.
from bundletool.
- Right click on the project > "Open module settings"
- Make sure you have all three source folders added:
bundletool/src/main
bundletool/build/classes/java/main
bundletool/build/generated/source/proto/main/java
If that still doesn't work, in the build.gradle replace the shadow
dependencies with compile
dependencies (but don't submit this change please).
from bundletool.
@plecesne Thanks for your reply, but it still doesn't work.
Here are my steps:
- File > New... > Project from exsisting sources
3.
4. in the build.gradle replace the shadow dependencies with compile dependencies
Here is my project in intellij IDEA:
It still doesn't work when compiled, seems like some files are lost.
For example, this class cannot be found by IDEA, and I cannot find it in this git project too.
com.android.bundle.Devices.DeviceSpec
Could you please make sure that if all files are commited successfully?
from bundletool.
but i cannot find bundletool/build/generated/source/proto/main/java
in my project , is there anything wrong?
from bundletool.
I've tested on my machine from a freshly downloaded source code and it worked, so there doesn't seem to be a problem with the project. Maybe you need to build with gradle first or something.
I'm going to close the issue now since this is not really the place for technical support. May I suggest stackoverflow to continue with the resolution of your problem.
from bundletool.
thanks for not helping me.
:(
from bundletool.
There is another way to read the souce code. In fact, I create a project which contains the bundletool.jar and I can read the source code in jar. Here is the project, I'll be pleasure if it can help people who meet the same problems with me.
https://github.com/aishang5wpj/bundletool
from bundletool.
Related Issues (20)
- Different get-size result between local and server build HOT 1
- Error: Module 'myzip' is missing mandatory file 'manifest/AndroidManifest.xml' HOT 2
- bundletool build-apks failed when minsdk<21 HOT 1
- [BUG] Error: Module 'base' is missing mandatory file 'manifest/AndroidManifest.xml'. HOT 1
- Add bundletool to winget
- The App bundle is not a valid zip file HOT 1
- Unable to sign apk HOT 2
- Unable to sign APK due to FileAlreadyExistsException HOT 5
- com.android.tools.build.bundletool.model.exceptions.InvalidBundleException: Invalid dex file indices, expecting file 'classes?.dex' but found 'classes2.dex'. HOT 2
- Does it make the opposite? HOT 1
- the aab upload to Google Play, size counting issue HOT 1
- Error: Module 'base' is missing mandatory file 'manifest/AndroidManifest.xml'. HOT 2
- How does `bundletool build-apks` generate the versionCode for the APKs? HOT 3
- Returns immediately on command line without any info
- Size differs between bundletool and apkanalyzer.
- Unable to install dynamic feature modules with max sdk in manifest
- Set splittypes
- Please ignore
- Option NOT To Sign The APK Even If Debug Keystore Is Present
- Bundletool Package using 2 versions of AAPT2 Proto
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bundletool.