简体   繁体   English

如何找到Android Studios应用程序的MAKE文件?

[英]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.

相关问题 如何在android studio中启用httpclient? - how do i enable httpclient in android studios? 在 Android Studios build.gradle 中,我在哪里可以找到“项目”文件? - In Android Studios build.gradle, where do I find the 'project' file? 我要如何通过可单击的Textview转到另一个活动?(Android Studios) - How do i make an intent to go to another activity from a clickable Textview?(Android Studios) Android Studios:如何编写代码,让我的应用程序在多次点击后执行特定操作? - Android Studios: How do I make a code that allows my app to do a certain action after a written number of clicks? 如何在Android Studio中自定义导航抽屉? - How do I customize the navigation drawer in Android Studios? 如何在Android Studio中为Android设备制作游戏 - How to make games for Android devices in Android Studios 如何修复Android Studios项目文件布局 - How to fix the Android studios project file layout 我必须替换哪个.png文件才能更改Android Studio中的图标符号 - Which .png file do I have to replace for changing Icon symbol in Android Studios 如何在Mac中改变我在Android工作室中突出显示文本的方式? - How do I change the way I highlight text in Android Studios in mac? 我想在 android 工作室中为应用程序逐帧制作 animation - I wanted to make a frame by frame animation, in android studios for an app
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM