Application does not work on certain device after compiled

1

I made an application, and on my Lg g2 mobile phone, normal wheel, but in a samsung great prime does not wheel. It says the application stopped error 41. What can it 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'
}
    
asked by anonymous 15.04.2016 / 03:20

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 I was told in this post , I deleted adbkey and compiled again ... and it was ...

    
18.04.2016 / 12:49