[英]How do I find Android Studios application MAKE file?
I'm new to Android Studio so if anyone could tell me the STEPS how to find application Make file? 我是Android Studio的新手,所以如果有人可以告诉我STEPS如何查找应用程序Make file?
Im following the instructions on http://techdocs.zebra.com/emdk-for-android/4-0/guide/programming_practices/ 我按照http://techdocs.zebra.com/emdk-for-android/4-0/guide/programming_practices/上的说明进行操作
Need to add below code to application make file 需要将以下代码添加到应用程序生成文件中
LOCAL_JAVA_LIBRARIES := com.symbol.emdk
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := libemdk:com.symbol.emdk/com.symbol.emdk.jar
Also, I check the settings editor->Inspections and it said Missing JNI Function. 另外,我检查设置编辑器->检查,它说缺少JNI功能。 Not sure if this could be related.
不知道这是否可能相关。
I'm using a sample code but I get an error. 我正在使用示例代码,但出现错误。 I'm assuming its because I need to add the above code to the application make file.
我假设它是因为我需要将以上代码添加到应用程序make文件中。
java.lang.ClassNotFoundException: Didn't find class "com.symbol.emdk.EMDKManager$EMDKListener" on path:
In android studio, add following code in build.gradle 在android studio中,在build.gradle中添加以下代码
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'], exclude: ['com.symbol.emdk.jar'])
compile 'com.android.support:appcompat-v7:21.0.3'
provided files('./libs/com.symbol.emdk.jar')
}
For more detail visit https://developer.zebra.com/thread/30509 有关更多详细信息,请访问https://developer.zebra.com/thread/30509
In the above link clearly explained solution for eclispse and android studio both. 在上面的链接中,为eclispse和android studio都清楚地说明了解决方案。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.