Hello all,
My first post. I am new to Android programming but have been writing software since 1987.
I am having difficulty finding where in the sdk the packages are. I get this kind of error:
package android.graphics does not exist
My goal is to build Android apps from the command line using pure Java. I want to have all the libraries I need on my hard drive without having to download any more once a new one is used.
I used Android Studio to create the initial pure Java app and it does build properly there. Now I am using javac that is included with the sdk. I found one package appcompat-1.2.0-sources.jar buried in the gradle/caches directory. Not sure how it ended up there but moving that to where javac can access it, got rid of one of the 'does not exist' errors. I moved android.jar from the sdk there too but it didn't help. I just need to know where the other packages are.
Thanks in advance.
My first post. I am new to Android programming but have been writing software since 1987.
I am having difficulty finding where in the sdk the packages are. I get this kind of error:
package android.graphics does not exist
My goal is to build Android apps from the command line using pure Java. I want to have all the libraries I need on my hard drive without having to download any more once a new one is used.
I used Android Studio to create the initial pure Java app and it does build properly there. Now I am using javac that is included with the sdk. I found one package appcompat-1.2.0-sources.jar buried in the gradle/caches directory. Not sure how it ended up there but moving that to where javac can access it, got rid of one of the 'does not exist' errors. I moved android.jar from the sdk there too but it didn't help. I just need to know where the other packages are.
Thanks in advance.