吴环宇
吴环宇

Reputation: 467

Where does android studio put .class file

I make a new project and build it successfully.But I cannot find where android studio put .class files

I tried

  1. search in build/generate
  2. double shift
  3. find command

But I cannot find MainActivity.class or some others.

Where does android studio put .class files?

Upvotes: 4

Views: 5503

Answers (2)

ko2ic
ko2ic

Reputation: 2092

Rename the following .jar file to .zip and unzip it.

build/intermediates/intermediate-jars/debug/classes.jar

Upvotes: 1

shubhamgarg1
shubhamgarg1

Reputation: 2015

You can find them in the build/intermediates/classes/debug/* directory.

Upvotes: 4

Related Questions