Recently in the development of the Android Wear Watch project, the official demo is all Gradle projects. Of course I also use eclipse to configure a workable environment.
The question is, Eclipse,android Studio developed Android Wear which technology is stronger?
The current development experience is more studio-strong.
Encounter a problem in development Android studio does not break the. So file into the APK package when using the Gradle build wear app, because Gradle does not know. So.
Google a lot, there are many hack way, but the simplest one: Add the Jnilibs directory under src/main/(Note: Gradle project file structure and eclipse some differences), the original/libs/ The Armeabi folder is copied with all the sub-files. Once again run,adb the shell into the data/data/com.xxx./libs, you can see the. so file into the APK, Unsatisfiedlinkerror is gone.
Android Studio Gradle adds support for. so files