Application does not work on a particular device after compiled

Asked

Viewed 223 times

1

I made an app, and on my mobile Lg G2, normal wheel but on a gran prime Samsung does not wheel. It says the app stopped error 41. What can be?

Build.gradle:
apply plugin: 'com.android.application'

android {
    compileSdkVersion 23
    buildToolsVersion "23.0.1"

    defaultConfig {
        applicationId "alfalarmes.hbzdev.com.alfalarmes"
        minSdkVersion 8
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    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.3.0'
}
  • 1

    If you have access to the device the best way to find out the problem would be by debugging on it.

  • 2

    Log using logcat and send us please. Without something to analyze, it is difficult to help.

  • Segue o log, peguei as linhas em vermelho do log:
04-15 02:51:27.856 1039-1039/alfalarmes.hbzdev.com.alfalarmes E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.monkeyPatchExistingResources

04-15 02:51:27.884 1039-1039/alfalarmes.hbzdev.com.alfalarmes E/dalvikvm: Could not find class 'android.util.ArrayMap', referenced from method com.android.tools.fd.runtime.MonkeyPatcher.pruneResourceCache
alfalarmes.hbzdev.com.alfalarmes.SplashActivity.access$super
there are other errors similar to those above... I hope it helps..

  • acho que esses erros abaixo podem ajudar mais:
04-15 00:17:10.575 13446-13446/alfalarmes.hbzdev.com.alfalarmes E/SysUtils: ApplicationContext is null in ApplicationStatus

04-15 00:17:10.595 13446-13446/alfalarmes.hbzdev.com.alfalarmes E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY

04-15 00:17:10.640 13446-13446/alfalarmes.hbzdev.com.alfalarmes E/DataReductionProxySettingListener: No DRP key due to exception:java.lang.ClassNotFoundException: com.android.webview.chromium.Drp

no meu lg g2 ta rodando normal....

  • 2

    You could edit your question by attaching your file to it build. Gradle(APP)?

1 answer

0

I found the error and the solution!

Error: error: device unauthorized. This adbd’s $ADB_VENDOR_KEYS is not set; Try 'adb Kill-server' if that seems Wrong. Otherwise check for a confirmation dialog on your device.

Solution:
As it was spoken in this post, I deleted the adbkey and compiled it again... and it was...

Browser other questions tagged

You are not signed in. Login or sign up in order to post.