アンドロイドスタジオでAndroidアプリを変更しましたが、 pHにそれはそれは、残念ながら、オープン私のアンドロイドアプリのバージョンが変更され、アンドロイドのスタジオでアプリが実行されていますが、apkを生成してインストールすると停止します。
build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion '23.0.1'
useLibrary 'org.apache.http.legacy'
packagingOptions {
exclude 'META-INF/NOTICE'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
}
defaultConfig {
applicationId "anoop.example.com.rssreader"
minSdkVersion 15
targetSdkVersion 23
versionCode 2
versionName "1.1"
multiDexEnabled true
}
dexOptions {
javaMaxHeapSize "4g"
}
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 'org.apache.httpcomponents:httpclient:4.3.6'
// compile 'org.apache.httpcomponents:httpmime:4.2.6'
compile fileTree(dir: 'libs', include: ['*.jar'])
compile('org.apache.httpcomponents:httpmime:4.3.6') {
exclude module: 'httpclient'
}
compile 'com.google.android.gms:play-services-location:8.3.0'
compile 'com.android.support:multidex:1.0.0'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'org.jsoup:jsoup:1.7.1'
compile 'com.google.code.gson:gson:2.2.4'
compile 'org.apache.commons:commons-lang3:3.1'
compile 'org.apache.commons:commons-collections4:4.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3'
compile 'com.facebook.android:facebook-android-sdk:3.23.1'
compile 'com.github.manuelpeinado.fadingactionbar:fadingactionbar:3.1.2'
compile 'com.android.support:recyclerview-v7:23.3.0'
compile 'com.etsy.android.grid:library:1.0.5'
compile 'com.astuetz:pagerslidingtabstrip:1.0.1'
compile 'com.melnykov:floatingactionbutton:1.3.0'
compile 'org.apache.httpcomponents:httpclient-android:4.3.5'
compile 'com.android.support:design:23.3.0'
012を停止します
スタックトレース
05-27 21:35:07.854 1534-4425 /? I/ActivityManager:START U0 {act = android.intent.action.MAIN cat = [android.intent.category.LAUNCHER] flg = 0x10200000 cmp = anoop.example.com.rssreader/.MainActivity(補足あり)} from uid 10014ディスプレイ0 05-27 21:35:08.080 4462-4472 /? I/art:背景スティッキー同時マークスイープGC解放257(20KB)AllocSpaceオブジェクト、0(0B)LOSオブジェクト、0%空き、2MB/2MB、一時停止36.607ms合計136.565ms 05-27 21:35:08.193 4462- 4479 /? W/EGL_emulation:eglSurfaceAttribが実装されていない 05-27 21:35:08.193 4462-4479 /? W/OpenGLRenderer:サーフェス0xb28bf760にEGL_SWAP_BEHAVIORを設定できませんでした。エラー= EGL_SUCCESS 05-27 21:35:08.240 1862-2124 /? E/Surface:getSlotFromBufferLocked:未知のバッファ:0xaa2b36e0 05-27 21:35:08.273 4462-4479 /? W/EGL_emulation:eglSurfaceAttribが実装されていない 05-27 21:35:08.273 4462-4479 /? W/OpenGLRenderer:サーフェス0xadc13f80にEGL_SWAP_BEHAVIORを設定できませんでした。エラー= EGL_SUCCESS 05-27 21:35:08.313 4462-4479 /? E/Surface:getSlotFromBufferLocked:未知のバッファ:0xaa2b1760 05-27 21:35:08.396 1534-2064 /? I/WindowManager:実際のアプリケーションウィンドウに切り替える:Window {d3469cd u0 anoop.example.com.rssreader/anoop.example.com.rssreader.MainActivity} 05-27 21:35:08.567 1534-1553 /? I/ActivityManager:表示anoop.example.com.rssreader/.MainActivity:+ 681ms
正確に意味「動作しない」ん、何が?より具体的に言えば、人々があなたの問題点を推測することを期待しないでください。 – Egor
意味がない.... apkをインストールして開いたときに残念ながら停止する –
例外スタックトレースを追加してください。 – Egor