InsertIO / cordovaInsert

Cordova plug in for Insert (see insert.io)
Apache License 2.0
1 stars 4 forks source link

Can't build Project after adding plugin #15

Open saba-m opened 6 years ago

saba-m commented 6 years ago

I am using Ionic based cordova app and also using cordova-plugin-cross-walk-webview. Eveytime i build it gives me error ` /Path_to_project/platforms/android/gradlew: Command failed with exit code 1 Error output: /Path_to_project/platforms/android/build/intermediates/manifests/full/armv7/debug/AndroidManifest.xml:203: AAPT: Tag attribute name has invalid character ''.

/Path_to_project/platforms/android/build/intermediates/manifests/full/armv7/debug/AndroidManifest.xml:203: Tag attribute name has invalid character ''.

FAILURE: Build failed with an exception.

I have also tried removing plugin but no luck! still getting same error

night2tl commented 6 years ago

Hey Saba, android:name is supposed to have reference of your class path which represents the activity. It must not contain any special characters or spaces.

For example: android:name="com.json.test.MainActivity"

Further more, have you changed your manifest? if so, please check the comment above, and also feel free to share it here with me.

Other than that, can you please describe how you add the plugin? I made some changes now, and I hope it works now. But still, please describe your process.

I'll depict what has to be done in order to add this plugin successfully: cordova plugin add --save https://github.com/InsertIO/cordovaInsert.git --variable COMPANY_NAME="YOUR_COMPANY_NAME" --variable ANDROID_APP_KEY="YOUR_APP_KEY" --variable ANDROID_URL_ID="URL_HEX_ID"