Error : Flavor nativescript-camera has unknown dimension nativescript-camera
Closed this issue · 5 comments
@nachiketglobant I am not able to reproduce the issue on my side.
Can you please remove the node_modules
and platforms
folders and rebuild the project.
If the issue persists please post the versions of NativeScript CLI(tns-version
) and if there are any changes made in the package.json
Thanks for the response @NickIliev
I tried with removing the 2 folders and get this error;
I was getting this error before too, at that time, I had added,
flavorDimensions "default"
in app/build.gradle file
After that, I got the error which I have mentioned in the issue details.
Can you please help ? Anything that I have wrongly configured ?
@nachiketglobant what is the version of your NativeScript CLI (tns --version
)
Btw you shouldn't make any changes to app.gradle
to run the project - notice that the project is using next
versions of tns-core-modules
and tns-android
(only temporary) so you could give it a try with the next
version of NativeScript CLI (npm i -g nativescript@next).
Use the next
versions only for testing purposes
Hi @nachiketglobant @NickIliev
Did you found the solution for this issue? Im facing the same issue. pls suggest me to fix this issue.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.