Open
Description
I've been following the procedure to extend the android application here.:
https://docs.nativescript.org/advanced-concepts.html#extending-the-android-application
However i continually get the following error:
Error executing Static Binding Generator: File already exists. This may lead to undesired behavior.
Please change the name of one of the extended classes.
File:/Users/***/Desktop/***-***/platforms/android/app/src/main/java/com/***/Application.java Class: com.***.Application
I can surpress the problem by commenting the following after the first build in the webpack config
// webpack.chainWebpack(config => {
// if (webpack.Utils.platform.getPlatformName() === 'android') {
// // make sure the path to the applicatioon.android.(js|ts)
// // is relative to the webpack.config.js
// // you may need to use `./app/application.android if
// // your app source is located inside the ./app folder.
// config.entry('application').add(resolve(__dirname, './app/application.android'))
// }
// })
However, this seems to prevent the application from ever launching
I am using the latest version of nativescript (8.1.2), nativescript-android (8.1.1)