boboP 发表于 2018-8-2 17:09 好的,谢谢! |
。。。。木有人回答,下载到手机就运行不了,难道我手机太老了,。。。 |
没人回复?还是问题太小白了呢 |
我的build.gradle: android { compileSdkVersion 26 buildToolsVersion '26.0.2' useLibrary 'org.apache.http.legacy' splits { abi { enable true reset() include 'x86', 'armeabi', 'armeabi-v7a' universalApk true } } sourceSets { main { jniLibs.srcDirs = ['libs'] } } defaultConfig { applicationId "com.gizwits.opensource.appkit" minSdkVersion 16 targetSdkVersion 26 versionCode 1 versionName "1.0" multiDexEnabled true ndk{ abiFilters("armeabi", "armeabi-v7a", "x86") } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) testCompile 'junit:junit:4.12' // compile 'com.android.support:appcompat-v7:23.4.0' compile files('libs/BLEasyConfig.jar') compile files('libs/easylink2.0.jar') compile files('libs/hiflying-iots-android-smartlink7.0.2.jar') compile files('libs/GizWifiSDK.jar') compile files('libs/jpush-android-2.1.5.jar') compile files('libs/Lark7618SDK_noudp1606031910_0101.jar') compile files('libs/libammsdk.jar') compile files('libs/libEsptouch_v0.3.3.4_3.jar') compile files('libs/libForEElink.jar') compile files('libs/LSFSK_1.0.jar') compile files('libs/mta-sdk-1.6.2.jar') compile files('libs/OneShotConfig.jar') compile files('libs/open_sdk_r5756.jar') compile files('libs/pushservice-5.0.0.66.jar') compile files('libs/simpleconfigwizardlib.jar') compile files('libs/xUtils-2.6.14.jar') compile files('libs/zxing.jar') compile 'com.yanzhenjie:permission:1.0.5' } |
本帖最后由 Gclouder 于 2018-7-26 23:46 编辑 我用华为荣耀怎么也出错? $ adb shell am start -n "com.gizwits.opensource.appkit/com.gizwits.opensource.appkit.UserModule.GosUserLoginActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER Connected to process 3493 on device huawei-pe_tl00m- Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. W/dalvikvm: threadid=1: thread exiting with uncaught exception (group=0x4199ac50) 有人成功编译过Gokit Demo 用AS么? |
版权与免责声明 © 2006-2024 Gizwits IoT Technology Co., Ltd. ( 粤ICP备11090211号 )