简体   繁体   中英

can I run android project without AVD

I want to run android project at backend without using any UI. No activity, AVD required. Is it feasible? Thanks in Advance !

  1. If your project does not have an Activity, that should be a Service. Services do not need a Screen, and it can run in background. ( http://developer.android.com/guide/topics/fundamentals/services.html )

  2. Then, if you are developing a library, you can distribute the JAR file among other developers, and to test the library, you have to develop an App that uses your library.

  3. To run an Android app, you need either a real Android device or an AVD (Android Virtual Device). To read more on how to set-up a real android phone to run your project, see http://developer.android.com/guide/developing/device.html#setting-up

如果是图书馆,答案是YesYes

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM