0

My gradle has:

defaultConfig {
        targetSdkVersion 26
        applicationId 'com.company.appname'
    }

buildTypes {
        debug {
            minifyEnabled false
            useProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt', 'proguard-ulivewallpaper.txt'
            jniDebuggable true
        }
        release {
            minifyEnabled false
            useProguard false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-unity.txt', 'proguard-ulivewallpaper.txt'
            signingConfig signingConfigs.debug
        }
    }

productFlavors {
        pro{
            applicationId = "com.company.appname.pro"
            flavorDimensions("default")
            buildConfigField("boolean", "demomode", "false")
        }
        free{
            applicationId = "com.company.appname.free"
            flavorDimensions("default")
            buildConfigField("boolean", "demomode", "true")
        }
    }

Not sure why but the app starts but when I want to access my settings activity, it says "Application not installed on your phone". Any help is appreciated.

abotrix
  • 138
  • 1
  • 12
  • Long shot: http://www.droidforums.net/threads/application-not-installed-on-your-phone.176889/ – stkent Apr 09 '18 at 02:53
  • No dice:( Problem persists...I've change back to no flavors and the app still has the same error. Any advice still? – abotrix Apr 09 '18 at 18:34
  • Anything in the logcat with more info? – stkent Apr 09 '18 at 19:34
  • No error in the logcat. Since I was using Unity, I went ahead and recompiled my project and added the files a folder at a time to make sure I wasn't getting the same error. Never found out what was the issue though. – abotrix Apr 10 '18 at 04:08

0 Answers0