Code Monkey home page Code Monkey logo

Comments (8)

plecesne avatar plecesne commented on May 20, 2024 1

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.

aishang5wpj avatar aishang5wpj commented on May 20, 2024

popo_2019-03-11  11-59-23

from bundletool.

plecesne avatar plecesne commented on May 20, 2024
  • 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.

aishang5wpj avatar aishang5wpj commented on May 20, 2024

@plecesne Thanks for your reply, but it still doesn't work.

Here are my steps:

  1. File > New... > Project from exsisting sources

popo01
3.
popo02
4. in the build.gradle replace the shadow dependencies with compile dependencies
image

Here is my project in intellij IDEA:
image

It still doesn't work when compiled, seems like some files are lost.

image

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.

aishang5wpj avatar aishang5wpj commented on May 20, 2024

but i cannot find bundletool/build/generated/source/proto/main/java in my project , is there anything wrong?

image

from bundletool.

plecesne avatar plecesne commented on May 20, 2024

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.

aishang5wpj avatar aishang5wpj commented on May 20, 2024

thanks for not helping me.
:(

from bundletool.

aishang5wpj avatar aishang5wpj commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.