I am creating a fresh project with firebase and I can’t even get it to work.
Here is what I did:
Created a new project by doing
tns create firebaseTest --appid com.mydomain.firebase
Then I added the platform by doing
tns platform add android
Then I added the firebase plugin by doing
tns plugin add nativescript-plugin-firebase
I copied the google-services.json to app/App_Resources/Android/google-services.json.
Then I tried to build the app using the following
tns build android --compileSdk 23
Note that I am building for API level 23.
I get the following error
FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':processF0F1DebugResources'. > com.android.ide.common.process.ProcessException: Failed to execute aapt
I have the following in my android SDK
Things I have tried:
I have created multiple projects and tried this.
I have removed and add the plugins and platform.
This happens only after I add the plugin and doesnot happen without it.