ant - Android update lib-project build file creates apk instead of jar -



I recently launched Android SDK Tools Reff 20, Platform-Tools REV 12, Android 4.1 (API 16) Has upgraded. When I execute "Android Update Lib-Project" for my project, use "AT debug" or "ant release", an APK file has been created for this project, a jar file was created in the previous version ( Which I wanted). Whether it breaks or this is a new, expected behavior.

Thanks - DANAl

The problem is that when you open the -project, then this file adds android.library = true to the file project.properties

again Android updates ob-project, because android.library = true has been deleted (see)

Solution:

Go to Android Update project , And make sure you have this project. Properties without deleting it

Comments