I developed an application, this application has 2 versions. when Install new version Application on old version.it shows Application Not Installed.
my manifest :
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<application
android:allowBackup="true"
android:icon="#drawable/smsbox_2_logo"
android:label="#string/app_name"
android:largeHeap="true"
android:screenOrientation="portrait"
android:theme="#style/AppTheme">
<activity
android:name=".activities.Main_Page"
android:label="#string/app_name"
android:screenOrientation="portrait"></activity>
<activity
android:name=".activities.addSMS_Page"
android:label="#string/title_activity_new_sms"
android:screenOrientation="portrait" />
<activity
android:name=".activities.ShowSMS_Page"
android:label="#string/title_activity_show_sms__page"
android:screenOrientation="portrait" />
<activity
android:name=".activities.MySMS_Page"
android:label="#string/title_activity_my_sms__page"
android:screenOrientation="portrait" />
<activity
android:name=".activities.Fav_Page"
android:label="#string/title_activity_fav__page"
android:screenOrientation="portrait" />
<activity
android:name=".activities.login_Page"
android:label="#string/title_activity_login__page"
android:screenOrientation="portrait"></activity>
<activity
android:name=".activities.register_Page"
android:label="#string/title_activity_register__page"></activity>
<activity
android:name=".activities.category_Page"
android:label="#string/title_activity_register__page"></activity>
<activity
android:name=".activities.category_select_Page"
android:label="#string/title_activity_register__page"></activity>
<activity
android:name=".activities.about_Page"
android:label="#string/title_activity_about__page"></activity>
<activity
android:name=".activities.setting_Page"
android:label="#string/title_activity_setting__page"></activity>
<activity
android:name="com.tellfa.smsbox.activities.splash_Page"
android:label="#string/title_activity_splash__page">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".activities.connectus_Page"
android:label="#string/title_activity_connectus__page"></activity>
</application>
</manifest>
Build.Gradle code :
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.tellfa.smsbox"
minSdkVersion 14
targetSdkVersion 22
versionCode 10
versionName "2.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
how to fix it ?
Just uninstall old Application and then install new version
you probably used a different keystore file, you need to uninstall the app and re-install it
Set minimum and target Sdk versions in mainfest
the keystore should be same for two versions. in this case you have to un-install previous version and reinstall new version will fix the issue. or use the same keystore
Related
What currently happens: when I make a breakpoint on a method and right click to select Debug VendorMapsActivity it gives me an error saying "Error running VendorMapsActivity: this activity must be exported or contain an intent-filter."
What needs to happen: I need to be able to debug a method that is supposed to be called when the user swipe closes the app and deletes their data from Firebase Auth and Firebase Database Uid. I need to see if the method is running the way it needs to. Because as of now, the method itself is not removing any data from the Firebase Database.
What I have done: I have selected the debug variant in my build. I have added a build type of debug in my gradle. I also have the VendorMapsActivity in my Manifest file.
Manifest code:
<?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="com.example.zzyzj.man">
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" />
<application
android:allowBackup="true"
android:icon="#drawable/logo"
android:label="#string/app_name"
android:roundIcon="#drawable/logo"
android:supportsRtl="true"
android:theme="#style/AppTheme"
tools:ignore="GoogleAppIndexingWarning">
<activity android:name=".login.EatLoginActivity"
android:screenOrientation="portrait"
android:label="#string/app_name"/>
<activity android:name=".login.VendorLoginActivity"
android:screenOrientation="portrait"
android:label="#string/app_name" />
<activity
android:name=".WelcomeActivity"
android:screenOrientation="portrait"
android:label="#string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_maps_key" />
<meta-data
android:name="com.google.android.gms.ads.APPLICATION_ID"
android:value="#string/testAppId"/>
<activity
android:name=".MapsActivity"
android:label="#string/title_activity_eater_maps"
android:screenOrientation="portrait">
</activity>
<activity
android:name=".VendorMapsActivity"
android:label="#string/title_activity_vendor_maps"
android:screenOrientation="portrait"/>
</application>
</manifest>
Gradle code:
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.example.zzyzj.man"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.config
}
debug {
debuggable true
}
}
}
What I am actually trying to debug:
#Override
protected void onDestroy() {
super.onDestroy();
//TODO: Remove me. Debug only!
while (!Debug.isDebuggerConnected()) {
try {
Log.d(TAG, "Waiting for debugger");
Thread.sleep(1000);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
//TODO: Figure out how to delete UID and user when they sign out
removeAnonymousVendorUser();
FirebaseAuth.getInstance().signOut();
finish();
}
Not going too deep, try checking for updates in Android Studio. If there are any please do them and then restart 'Android Studio'
It worked for me :)
I m new to Android development. I have developed an app using the android studio. The problem is that after generating the signed APK, when I m trying to install the app on an android device with MARSHMALLOW on it, it's not getting installed showing error message "APP CANNOT BE INSTALLED" message, but it gets installed on an android device with NOUGAT on it instead I have set minSDKVersion to 19.
Here's my manifest file
<?xml version="1.0" encoding="utf-8"?>
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.adityakumarsingh.arduinobot"
android:versionCode="1"
android:versionName="1.0">
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="26" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:roundIcon="#mipmap/ic_launcher_round"
android:screenOrientation="portrait"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity android:name=".WelcomeActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".Splash"
android:screenOrientation="portrait"
android:theme="#style/SpalshTheme">
</activity>
<activity
android:name=".MainActivity"
android:screenOrientation="portrait"></activity>
<activity
android:name=".Accelerometer"
android:parentActivityName=".MainActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".BluetoothConnection"
android:screenOrientation="portrait"
android:theme="#style/AppTheme" />
<activity
android:name=".GameMode"
android:parentActivityName=".MainActivity"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".About"
android:parentActivityName=".MainActivity"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
<activity
android:name=".Voicerecog"
android:parentActivityName=".MainActivity"
android:screenOrientation="portrait">
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".MainActivity" />
</activity>
</application>
</manifest>
And here's my build file
apply plugin: 'com.android.application'
android {
compileSdkVersion 26
buildToolsVersion "26.0.2"
defaultConfig {
applicationId "com.example.adityakumarsingh.arduinobot"
minSdkVersion 19
targetSdkVersion 26
versionCode 1
versionName "1.0"
}
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-
layout:1.0.2'
compile 'io.github.controlwear:virtualjoystick:1.8.0'
compile 'com.github.markushi:circlebutton:1.1'
compile 'de.hdodenhof:circleimageview:2.2.0'
implementation 'com.android.support:design:26.1.0'
}
What to do? Any help would be appreciated.Thanks
Ok it mostly is the signature Which is causing issues. Try having a v2 plus v1 signature while signing the apk instead of just any one. I've seen this error when i was just using the v2 method. Adding the v1 signature will help.
V2 signatures sign the module and work for nougat and more. It'll not work on older versions of android so you'll have to use the v1 for full apk signature as well. This will let older versions install it with verification using v1 and nougat and above should still use v2. Use both. Details on this can be found at their site:
https://source.android.com/security/apksigning/v2
Also make sure that there isn't any already installed apk with the same version number as the one you are trying to install. It'll fail if it's already installed and the version number is the same.
I had this problem:
Error:Execution failed for task ':app:processDebugManifest'.
Manifest merger failed : uses-sdk:minSdkVersion 8 cannot be smaller than version 9 declared in library [com.google.android.gms:play-services:9.4.0] C:\Users\Esprit\Desktop\Alphabet AdMob\app\build\intermediates\exploded-aar\com.google.android.gms\play-services\9.4.0\AndroidManifest.xml
Suggestion: use tools:overrideLibrary="com.google.android.gms.play_services" to force usage
But when i change "minSdkVersion 8" to "minSdkVersion 9" I get 255 errors
Manifest :
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.viavilab.alphabet"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:icon="#drawable/app_icon"
android:label="#string/app_name"
android:theme="#style/AppTheme" >
<activity
android:name="com.viavilab.alphabet.Splash_Activity"
android:label="#string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.viavilab.alphabet.CapitalAlphabet_Activity"
android:configChanges="orientation|keyboardHidden" >
</activity>
<activity
android:name="com.viavilab.alphabet.MainActivity"
android:configChanges="orientation|keyboardHidden" >
</activity>
<activity
android:name="com.viavilab.alphabet.SmallAlphabet_Activity"
android:configChanges="orientation|keyboardHidden" >
</activity>
<activity
android:name="com.viavilab.alphabet.AboutActivity"
android:configChanges="orientation|keyboardHidden" >
</activity>
<meta-data
android:name="com.google.android.gms.version"
android:value="#integer/google_play_services_version" />
<!-- Activity required to show ad overlays. -->
<activity
android:name="com.google.android.gms.ads.AdActivity"
android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize" />
</application>
</manifest>
build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 'Google Inc.:Google APIs:15'
buildToolsVersion "24.0.3"
defaultConfig {
applicationId "com.viavilab.alphabet"
minSdkVersion 8
targetSdkVersion 18
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:support-v4:18.0.0'
compile 'com.google.android.gms:play-services:+'
}
As you can read in the official doc about Setting up Google Play Services, the minSdkVersion must be 9. Even they are informing in the release notes, Google Play services 10.0.x is the final release that includes full support for Android version 2.3.x (Gingerbread).
By the way, in your build.gradle file, replace your compileSdkVersion to 18. You are already adding google play services to your app, as you can see in your dependencies.
compileSdkVersion 18
A tip: I think is highly recommendable to set a version to libraries you are using. The plus character in a dependency means you are using the latest version of the library. Every time app is built, you will use the latest version and maybe, your app can be incompatible with it or there are some bugs in the library you don't want to include in your app. So, set the version you want to use. For example,
compile 'com.google.android.gms:play-services:10.0.1'
I have released an app on Google Play that has a minimum API level of 17 (Android 4.2).
I have a test phone running Android 4.4.2.
The app is currently released only as beta. When I attempt to download it, it says its not compatible.
Has anyone got any ideas what could cause this?
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
useLibrary 'org.apache.http.legacy'
defaultConfig {
applicationId "com.delaneybiometrics.delaneymobile"
minSdkVersion 17
targetSdkVersion 23
versionCode 9
versionName "0.9"
}
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'
compile 'com.android.support:design:23.3.0'
compile 'com.google.android.gms:play-services:8.4.0'
compile 'org.apache.httpcomponents:httpcore:4.4.3'
compile 'org.apache.httpcomponents:httpclient:4.5'
}
Here is the Manifest...
<?xml version="1.0" encoding="utf-8"?>
<!--
The ACCESS_COARSE/FINE_LOCATION permissions are not required to use
Google Maps Android API v2, but you must specify either coarse or fine
location permissions for the 'MyLocation' functionality.
-->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<!--<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>-->
<uses-feature
android:name="android.hardware.camera"
android:required="false" />
<uses-feature
android:name="android.hardware.camera.front"
android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<application
android:allowBackup="true"
android:icon="#mipmap/ic_launcher"
android:label="#string/app_name"
android:supportsRtl="true"
android:theme="#style/AppTheme">
<activity
android:name=".MainActivity"
android:label="#string/app_name"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar"
android:windowSoftInputMode="adjustResize">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
</intent-filter>
</activity>
<!--
The API key for Google Maps-based APIs is defined as a string resource.
(See the file "res/values/google_maps_api.xml").
Note that the API key is linked to the encryption key used to sign the APK.
You need a different API key for each encryption key, including the release key that is used to
sign the APK for publishing.
You can define the keys for the debug and release targets in src/debug/ and src/release/.
-->
<meta-data
android:name="com.google.android.geo.API_KEY"
android:value="#string/google_maps_key" />
<activity
android:name=".PunchActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".OnSiteActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".RegisterActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity
android:name=".TourActivity"
android:screenOrientation="portrait"
android:theme="#style/AppTheme.NoActionBar" />
<activity android:name=".SplashActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
To fix, remove the <uses-feature android:name="android.hardware.camera.autofocus" /> tag from your manifest. But dont worry, as the docs say below, your app will still work properly
http://developer.android.com/reference/android/hardware/Camera.AutoFocusCallback.html
Devices that do not support auto-focus will receive a "fake" callback
to this interface. If your application needs auto-focus and should not
be installed on devices without auto-focus, you must declare that your
app uses the android.hardware.camera.autofocus feature, in the
manifest element.
I'm trying to import a project in android studio but the gradle build is failing. I've been struggling for hours but can't get it to work. What should I do?
This is what the gradle console says:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':azurMobile:processDebugManifest'.
Manifest merger failed with multiple errors, see logs
Try:
Run with --stacktrace option to get the stack trace. Run with --info or > --debug option to get more log output.
BUILD FAILED
Here's AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.viatom.azur"
android:versionCode="16"
android:versionName="02.04.02" >
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<uses-permission android:name="android.permission.CHANGE_CONFIGURATION" />
<uses-sdk
android:minSdkVersion="12"
android:targetSdkVersion="21" />
<application
android:allowBackup="true"
android:icon="#drawable/icon"
android:label="#string/app_name"
android:theme="#style/AppBaseTheme" >
<activity
android:name="com.viatom.azur.activity.MainActivity"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.viatom.azur.activity.ECGMain"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.OtherInfo"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.ECGDetail"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection" >
</activity>
<activity
android:name="com.viatom.azur.activity.ECGAnalyze"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection"
android:screenOrientation="behind">
</activity>
<activity
android:name="com.viatom.azur.activity.DailyCheck"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.SPO2Main"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.TempMain"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.SLMMain"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection" >
</activity>
<activity
android:name="com.viatom.azur.activity.SLMDetail"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.PedMain"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.AboutCheckme"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.AboutApp"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.SettingsActivity"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.Monitor"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<activity
android:name="com.viatom.azur.activity.SpotCheck"
android:label="#string/app_name"
android:configChanges="orientation|screenSize|fontScale|locale|layoutDirection">
</activity>
<service android:name="com.viatom.azur.bluetooth.BTUtils">
<intent-filter>
<!-- 为该Service组件的intent-filter配置action -->
<action android:name="com.viatom.azur.BTUtils" />
</intent-filter>
</service>
<!-- 友盟统计 -->
<meta-data android:value="549a0bc4fd98c5dfb5000242" android:name="UMENG_APPKEY"></meta-data>
<meta-data android:value="Google Play" android:name="UMENG_CHANNEL"/>
</application>
build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.viatom.azur"
minSdkVersion 12
targetSdkVersion 21
ndk {
moduleName "adpcm_docode"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
}
}
}
dependencies {
compile project(':library')
compile project(':mPChartLib')
compile project(':swipeMenuListView')
compile 'com.actionbarsherlock:actionbarsherlock:4.4.0#aar'
compile 'com.android.support:support-v4:21.0.0'
compile files('libs/umeng-analytics-v5.2.4.jar')
}
EDIT:
Logcat:
1:21:11 PM Executing tasks: [clean, :azurMobile:generateDebugSources, :azurMobile:generateDebugAndroidTestSources, :azurMobile:compileDebugSources, :azurMobile:compileDebugAndroidTestSources, :library:generateDebugSources, :library:generateDebugAndroidTestSources, :library:compileDebugSources, :library:compileDebugAndroidTestSources, :mPChartLib:generateDebugSources, :mPChartLib:generateDebugAndroidTestSources, :mPChartLib:compileDebugSources, :mPChartLib:compileDebugAndroidTestSources, :swipeMenuListView:generateDebugSources, :swipeMenuListView:generateDebugAndroidTestSources, :swipeMenuListView:compileDebugSources, :swipeMenuListView:compileDebugAndroidTestSources]
1:21:19 PM Gradle build finished with 1 error(s) in 8s 310ms
In the manifest file delete the commented other language codes
<!-- 为该Service组件的intent-filter配置action --> and <!-- 友盟统计 -->
and then build
You have problems with manifest merger...
Whenever you are trying to compile your project all of the other manifest are being put together for each module. You can find more informations from here and here
In other words, if you have more than one build types, their manifest will be merged. So you need to show us your project structre and all of the other manifest.
So we can understand whats wrong when its being merged.
On the other hand you can add versionName and versionCode to gradle
defaultConfig {
versionCode 16
versionName "02.04.02"
}
Also you may need to delete them from manifest.