java - "AppName still not working" message box android -
ok, here problem, updated application i'm developing, first time did this, application worked fine, when second update, application shows me message.
[enter image description here][1]
in english means like, "parkinghelper11 still not working"
the device i'm using ta 1039 nokia 6 android 7.0
build.grandle
apply plugin: 'com.android.application' android { compilesdkversion 25 buildtoolsversion "25.0.3" defaultconfig { applicationid "app.parkinghelper.com.parkinghelper11" minsdkversion 19 targetsdkversion 25 versioncode 1 versionname "1.0" testinstrumentationrunner "android.support.test.runner.androidjunitrunner" vectordrawables.usesupportlibrary = true } buildtypes { release { minifyenabled false proguardfiles getdefaultproguardfile('proguard-android.txt'), 'proguard-rules.pro' } } // configurations.all { // resolutionstrategy.force 'com.google.code.findbugs:jsr305:3.0.1' //} } dependencies { compile filetree(include: ['*.jar'], dir: 'libs') androidtestcompile('com.android.support.test.espresso:espresso-core:2.2.2', { exclude group: 'com.android.support', module: 'support-annotations' }) compile 'com.android.support:appcompat-v7:25.3.1' compile 'com.android.support:design:25.3.1' compile 'com.android.support:support-v4:25.3.1' compile 'com.android.support:support-vector-drawable:25.3.1' compile 'com.github.satyan:sugar:1.3' compile 'org.apache.commons:commons-io:1.3.2' testcompile 'junit:junit:4.12' compile files('libs/jxl.jar') compile files('libs/poi-3.7.jar') compile files('libs/btsdk.jar') compile files('libs/zixng.jar') }
androidmanifest.xml
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" package="app.parkinghelper.com.parkinghelper11"> <uses-permission android:name="android.permission.write_external_storage" /> <uses-permission android:name="android.permission.bluetooth_admin" /> <uses-permission android:name="android.permission.bluetooth" /> <uses-permission android:name="android.permission.send_sms"/> <application android:allowbackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsrtl="true" android:theme="@style/apptheme" tools:replace="android:icon" android:name="com.orm.sugarapp"> <meta-data android:name="database" android:value="parkingdb.db" /> <meta-data android:name="version" android:value="1" /> <meta-data android:name="query_log" android:value="true" /> <meta-data android:name="domain_package_name" android:value="app.parkinghelper.com.parkinghelper11"/> <activity android:name=".mainactivity" android:label="@string/app_name" android:theme="@style/apptheme.noactionbar" android:windowsoftinputmode = "statehidden|adjustpan"> <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name=".settingsactivity" android:label="@string/title_activity_settings" android:parentactivityname=".mainactivity" android:windowsoftinputmode = "statehidden"> </activity> <activity android:name=".pendings" android:label="@string/title_activity_settings" android:parentactivityname=".mainactivity" android:windowsoftinputmode = "statehidden"> </activity> <activity android:name=".additemtomodellist" android:theme = "@style/apptheme.customtheme" android:windowsoftinputmode = "statehidden"> </activity> <activity android:name=".incomerecord" android:parentactivityname=".mainactivity" android:windowsoftinputmode = "statehidden"> </activity> <activity android:name=".printer" android:label="@string/select_device" android:theme="@android:style/theme.dialog" android:configchanges="orientation|keyboardhidden" /> <activity android:name=".btdevicelist" android:parentactivityname=".mainactivity" android:windowsoftinputmode = "statehidden"> </activity> </application> </manifest>
update
the app work fine in devices android 6.0 , below.
fixed
finally solved problem, problem was using smsmanager smsmanager; send sms, like, android 7 cant handle this. dont know why, wwhen delete line app worked normally.
Comments
Post a Comment