简体   繁体   中英

Create an Android project that doesn't have AndroidManifest.xml

I am new to android...and i am trying to build an application that doesn't have AndroidManifest.xml but does contains files like .sh,.bat,.exe,etc. Along with folders ant-lib and lib containing .jar files...

Please help me as to how should i build such an android project from scratch

Please help

If you're new to Android do the following:

Having an Android app without a manifest.xml file is totally nonsense. This is how Android works. It needs the manifest to be able to understand what kind of permission your app has, what kind of Activities (UI) it provides etc... You basically cannot have an application without an manifest file.

Obvious question: Why do you want to create an app without an AndroidManifest.xml? It's like creating a Java application without a main-method. Maybe it helps if you give more details on what you're trying to do. For example, why do you want to include .bat and .exe files in your application? Remember that Android is based on a Linux plattform so I'm not really sure what you're trying to do here..

What you want is a library not an application. As all application in android must have manifest.xml but libraries dont. The DataExtractionOSM in that project is a library just like any java library.

Check out the following Create library for Android development?

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