I compile the project through Android Studio, the launch of the application is successful and works stably, but as soon as I throw app-debug.apk on the phone and install it, it just crashes at startup (installed successfully) What could be the problem?
PS I thought that the problem is in the build.gradle file (they say the version of the android does not fit), but everything seems fine there
compileSdkVersion 25 buildToolsVersion "25.0.0" defaultConfig { applicationId "com.example.user_android.otvchat" minSdkVersion 16 targetSdkVersion 25 versionCode 1 versionName "1.0" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" multiDexEnabled true compileOptions { sourceCompatibility JavaVersion.VERSION_1_7 targetCompatibility JavaVersion.VERSION_1_7 } }