开发者

Why wouldn't Android applications compile from source?

开发者 https://www.devze.com 2023-01-27 09:11 出处:网络
I am trying to compile the default projects that come with Android; however, it doesn\'t seem to be working at all. Most 开发者_JAVA技巧of the classes and libs seem to be missing.Did you move your SDK

I am trying to compile the default projects that come with Android; however, it doesn't seem to be working at all. Most 开发者_JAVA技巧of the classes and libs seem to be missing.


Did you move your SDK after creating the project? If you did, this breaks the build scripts.

On a secondary note- Google recommends using Eclipse IDE ( http://www.eclipse.org/downloads/packages/eclipse-ide-java-developers/heliossr1 ) for Android Development. Textmate is great, but Eclipse will make your life a lot easier for Android development.


I know this is an old question, but I'm curious. Did you ever try running

android update project --path .

in the project's directory? I have needed to use that command in the past.

0

精彩评论

暂无评论...
验证码 换一张
取 消