-1
Androidの物のコンソールから空のバンドルでダウンロードしたフラッシュの.zipをインストールしたRaspberry Pi 3ボードにapkを初めてインストールしようとしています。Androidのものはeth0とWlan0に接続されていますが、apkのインストールに失敗します
これで、Wi-Fi 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
ここで問題となる可能性がどのような。
以下は私のアプリです。
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 installコマンドのあとで、1.50MB apkのapkサイズに時間がかかることにも注意してください。
パス内の改行を含めてそのコマンドを実行していますか? –
また、アプリは既に存在していますが、署名は異なりますか? –
@AlexT。いいえ、私はそれが新しいラインは、ちょうどウィンドウのcmdのサイズのためだとは思わない。 – Herry