Hello,
I'm trying to recompilate my old apps (cordova 2.7.0 to 6.4.0). In the simulatir it works fine but when I try t build it to test it on Android device, build failed everytime:
Build failed during execution N/A Gerermacopro 0 0 C# N/A
'Build failed with error code 2' N/A Gerermacopro 0 0 C# N/A
'Build failed with error code 2' N/A Gerermacopro 0 0 C# N/A
In log :
[2017-07-25 10:30:11.080] Log (Info,None): Project "Gerermacopro.tmp.proj" (default targets):
android Build Tooling revision 2017.06.21.4r
Build Tooling Hostname 7919f902d575
Warning: Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Warning: Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Warning: /mnt/storage/builds/RQmAbu9NQydnAyXWn1/app/AndroidManifest.xml:25:13-30 Error:
Warning: Missing one of the key attributes 'action#name,category#name' on element intent-filter at AndroidManifest.xml:25:13-30
/mnt/storage/builds/RQmAbu9NQydnAyXWn1/app/AndroidManifest.xml Error:
Validation failed, exiting
Warning: FAILURE:
Warning: Build failed with an exception.
* What went wrong:
Warning: Execution failed for task ':processDebugManifest'.
Warning: > Manifest merger failed with multiple errors, see logs
Warning: * Try:
Warning: Run with --stacktrace option to get the stack trace. Run with
Warning: --info or --debug option to get more log output.
Warning: Error: /mnt/storage/builds/RQmAbu9NQydnAyXWn1/app/gradlew: Command failed with exit code 1 Error output:
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
/mnt/storage/builds/RQmAbu9NQydnAyXWn1/app/AndroidManifest.xml:25:13-30 Error:
Missing one of the key attributes 'action#name,category#name' on element intent-filter at AndroidManifest.xml:25:13-30
/mnt/storage/builds/RQmAbu9NQydnAyXWn1/app/AndroidManifest.xml Error:
Validation failed, exiting
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':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.
at ChildProcess.whenDone (/mnt/storage/builds/RQmAbu9NQydnAyXWn1/app/cordova/node_modules/cordova-common/src/superspawn.js:169:23)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:852:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
Error: Build failed during execution
Error: 'Build failed with error code 2'
Error: 'Build failed with error code 2'
Done building project "Gerermacopro.tmp.proj" -- FAILED.
Do you have any idea about what I have to do ?
This is my manifest :
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="$AndroidVersionCode$"
android:versionName="$BundleVersion$"
package="$AppIdentifier$"
android:windowSoftInputMode="adjustPan"
android:hardwareAccelerated="$AndroidHardwareAcceleration$"
xmlns:android="http://schemas.android.com/apk/res/android" >
<supports-screens
android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:xlargeScreens="true"
android:resizeable="true"
android:anyDensity="true"
/>
<application android:label="@string/app_name"
android:icon="@drawable/icon"
android:hardwareAccelerated="$AndroidHardwareAcceleration$">
<activity android:label="@string/app_name"
android:name=".TelerikCallbackActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale"
android:launchMode="singleTop"
android:theme="@android:style/Theme.Black.NoTitleBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="21"/>
</manifest>
Hope you could help me...best regards
Audrey