-1
我想安装apk的第一次在Raspberry Pi 3板上安装了闪存.zip从Android的东西控制台与空束捆绑下载。Android的事情与eth0和Wlan0连接,但无法安装apk
现在我可以连接我的设备使用wifi IP地址分配给板。
所以我将它连接,如:
adb connect 10.xxx.x.xxx:5555
connected to 10.xxx.x.xxx:5555
我现在想安装APK:
adb install D:\Project\xxx\xxx\app\build\outputs\
things_V01.apk
Failed to install D:\Project\xxx\xxx\app\build\outputs\
things_V01.apk
可能是什么问题在这里。
下面是我的应用程序的gradle。
apply plugin: 'com.android.application'
android {
compileSdkVersion 25
buildToolsVersion "25.0.3"
defaultConfig {
applicationId "xx.xxxx.xxxx"
minSdkVersion 14
targetSdkVersion 25
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:25.3.1'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
provided 'com.google.android.things:androidthings:0.4.1-devpreview'
testCompile 'junit:junit:4.12'
}
此外还指出,在adb安装命令后,它需要很多时间为APK大小1.50MB的apk。
你是否正在执行该命令,包括路径中的换行符? –
此外,应用程序是否已经存在,但签名不同? –
@AlexT。不,我不认为它的新行只是由于Windows中cmd的大小。 – Herry