react-native-version-number:verifyReleaseResources in React Native application - reactjs

I am doing react native application. And I tried to create apk file for android.
I have installed multiple components (libraries), In that to get version number, I have installed react-native-version-number.
But, While trying to create apk file, Getting following error
* What went wrong:
Execution failed for task ':react-native-version-number:verifyReleaseResources'.
> com.android.ide.common.process.ProcessException: Failed to execute aapt
How to fix this, Any suggestion.

Related

Getting Error while Building Electron Application

I have created an UI using ReactJS and embedded the electron into that. I can run my React UI as a Desktop App using electron.
Now, I am facing an issue creating builder using electron-packager.
Below is the error: rcedit.exe failed with exit code 1. Fatal error: Unable to commit changes
However, I can see the created package in the "Temp" folder under "electron-package" folder still it throws the above error. Also, I have tried running executable from the Temp folder, it opens desktop app (still there are few errors but they are related to code - I am not worry about this errors).
ElectronJS - https://www.electronjs.org/
It would be great if someone help me on this.
Thanks in advance.
By degrading Electron version from latest to v10.1.6, it got resolved.

Error getting while building react kotlin app using IntelliJ

I've created a simple react app using create-react-kotlin-app. After successful npm start, I tried to get a build of the project using IntelliJ IDEA's Build -> Build Project, but it fails stating
Error:(16, 44) Kotlin: Can't access property 'reactLogo' marked with #JsModule annotation from non-modular project
What am I missing here ?
NOTE: I haven't done any modification in the template comes with create-react-kotlin-app. The project runs successfully, problem only exist when I try to get a build.
I got managed to fix this issue via terminal.
From the project root, run
react-scripts-kotlin build
This will automatically creates a build folder with production ready files.

error after build in react native for ios

Command for build .ipa (.app) file:
react-native run-ios --configuration=release
And I want to build app for ios, but cant uploaded to diawi, console error:
** BUILD SUCCEEDED **
Installing build/Build/Products/release-iphonesimulator/app.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Launching org.reactjs.native.example.app
org.reactjs.native.example.app: 11067
Error in Diawi (the .app file itself exists):
An error occurred: 4001009: Invalid .ipa file: missing embedded
mobileprovision
What I should do? Worked on simulator. Maybe somehow on another can build?
You need to check main three steps from xCode:
Set proper Bundle Indentifier
Select Team from which you created your certificate and provisional profile
Set your Signing Developer.

React native project execution has been stopped

React native is unable to compile / load the bundle because a package is not resolved. How do I get React native to compile the bundle?
Finally i got solution,
/Users/mac/Library/Caches/typescript/2.6/nodw_modules/#type/prop-types
line somehow imported automatically DashboardScreen.js . Am just removed that line and restart my package manager then it works for me.

Module build failed - read only error

Trying to create a React app without using create-react-app so that I can learn a bit more and know what's going on in the background.
I'm trying to get webpack to work but getting this error that appears to be linked to redux-form when running webpack command.
I've just copied code from their site so not sure what the issue is?

Resources