I’ve tested the Facebook sample app again and had no such issue.
I’ve just realized that you are building your app using Monaca for Visual Studio. If that is the case, this might be the reason why. We have discontinued the support as well as development for Monaca for Visual Studio for several months already. Therefore, there might be some unknown errors while building your app via this service. We apologize for any inconveniences related to this. Would you please transfer your project to Monaca Localkit instead?
Hi, we experienced a bit of connection issue yesterday. However, everything is already back to normal. Would you please try to build again? Let me know if you still can’t build. We apologize for the inconvenience.
@nipun-kr how slow is it? I just tried to run monaca preview on a Vue project and it seems quite fast. You can see how long it takes to initialize the web server + first transpiling operation and then perform another transpiling operation once the source code has been updated.
I briefly checked your project and found that it is a Vuejs project? If so, please note that you can’t run a Vuejs project on Monaca Cloud IDE because it requires to transpire the source code which is not available on Monaca Cloud IDE. Please use Monaca CLI to test your Vuejs project. Moreover, your project configuration is very strange such as:
Your configuration file is not a typical config.xml file inside a Monaca project. Please create a new project and see the sample config.xml there.
Under the Cordova Plugins section, you had two Custom config plugins. Why?
You already added the cordova-plugin-ios-camera-permissions plugin within the Cordova Plugins section. But you also include this addition of the plugin within your config.xml file. Please omit this part.
In my own personal experience, I find it easier to start by writing out the requirements and even draw diagrams on paper. This helps me with a starting point and sometimes even identify the methods I need to implement.
If you have any questions, you can post freely here, in the community forum.
This issue has been solved. It turns out to be an issue with Splash screen configuration for Android in config.xml file. If you have the same build error, please make sure your splash screen configuration for Android looks like this:
As you may already know, this plugin requires you to set a push notification icon which has to be put inside resources folder in the project root. However, it is impossible to add the file directly into that folder from Monaca Cloud IDE.
After a long searching around, I found a Cordova plugin, called cordova-plugin-copy-resources, which allows you to copy resource files at build time. I tested the plugin and successfully added the file under resources folder.
Therefore, in your case, please do as follows:
Add cordova-plugin-copy-resources to your Monaca project.
Add the following snippet to the config.xml file:
<!-- copy the www/resources/android_notification_icon.png into project/resouces/ folder during build time -->
<resource dest="resources" src="www/resources/android_notification_icon.png" />
<!-- set the ParseNotificationIcon -->
<preference name="ParseNotificationIcon" value="android_notification_icon" />
Save the config.xml file and start building again. This time the build should be successful.
So in the folder that is mentioned you should put your icon!