Comments (7)
Android Output:
Full output @ https://gist.github.com/dk0r/3794b96fcd9e728ef75ef236cbc59592
Relevant snippet below:
....
:app:compileDebugJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
:app:compileDebugNdk UP-TO-DATE
:app:compileDebugSources
:app:transformClassesWithDexForDebug
Running dex in-process requires build tools 23.0.2.
For faster builds update this project to use the latest build tools.
:app:mergeDebugJniLibFolders
:app:transformNative_libsWithMergeJniLibsForDebug
:app:processDebugJavaRes UP-TO-DATE
:app:transformResourcesWithMergeJavaResForDebug
:app:validateSigningDebug
:app:packageDebug
:app:assembleDebug
:app:installDebug
Installing APK 'app-debug.apk' on 'pixel-xl-26(AVD) - 8.0.0' for app:debug
Installed on 1 device.
BUILD SUCCESSFUL
Total time: 25.147 secs
This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.14.1/userguide/gradle_daemon.html
Running /Users/admin/Library/Android/sdk//platform-tools/adb -s emulator-5554 reverse tcp:8081 tcp:8081
Starting the app on emulator-5554 (/Users/admin/Library/Android/sdk//platform-tools/adb -s emulator-5554 shell am start -n com.renametest/com.renametest.MainActivity)...
Starting: Intent { cmp=com.renametest/.MainActivity }
from react-native-rename.
iOS Output:
Full output @ https://gist.github.com/dk0r/2aeb7489df00748aac0da8bd9c58e7e8
Relevant snippet below:
....
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze RCTVibration.m
Analyze RCTLocationObserver.m
(2 commands with analyzer issues)
The following build commands failed:
Analyze RCTVibration.m
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/renameTest.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.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/renameTest.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
from react-native-rename.
Hi @dk0r , make sure to run npm start --reset-cache
after renaming it, also watchman watch-del-all
.
from react-native-rename.
App stop working after run npm start --reset-cache
and watchman watch-del-all
from react-native-rename.
Hi @alanyong91 , can you share the errors log? and what version af RN and react-native-rename are you using?
from react-native-rename.
having the same issue on iOS.
"react-native": "^0.51.0",
"react-native-rename": "^2.1.5",
but, the thing that is weird, is that it runs with just our default scheme and fails when we specify our other scheme
works:
react-native run-android --variant=defaultDebug
react-native run-android --variant=flavorDebug
react-native run-ios
doesn't work
react-native run-ios --scheme Custom --configuration Debug.Custom
output
Failed to install the requested application
The bundle identifier of the application could not be determined.
Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug.Custom-iphonesimulator/Custom.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
if you open up xcode, and build that custom scheme from there, the AppDelegate.m has an error of 'React/RCTBundleURLProvider.h' file not found
, but works just fine in the default scheme.
Any info you might be able to provide on this would be super helpful!
thanks!
from react-native-rename.
I had some issue and this (#55) works for me
from react-native-rename.
Related Issues (20)
- React Native 0.71.1 android, not renaming package in release folder HOT 9
- I just want to change the package name. HOT 3
- Cannot find module 'node:process' HOT 2
- Please provide path and content string using "-p [value]" or "--pathContentStr [value]" option to be used in renaming the folders, files and their contents. HOT 3
- Fails if app is iOS-only HOT 1
- ios/* NOT RENAMED HOT 7
- TypeError: Cannot read properties of undefined (reading 'replace') HOT 9
- If new name is 3 chars will fail HOT 1
- If old and new name is similar, then new name will be wrong in many place HOT 3
- Android MainActivity.java Rename Incorrect
- Is it possible to specify files to ignore? HOT 1
- node:process
- App.json not found but using app.config.json HOT 1
- Case insensitive
- package name not updating in custom java files HOT 7
- [iOS] Bundle identifier changed without specifying -b option
- Missing Rename in AppDelegate.mm HOT 1
- React Native 0.73 MainApplication.kt and MainActivity.kt do not accept the rename HOT 1
- After rename ios not working with error:- contains 2 projects, including multiple projects with the current extension (.xcodeproj) HOT 1
- Android Bundle name is not updated HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-rename.