could not connect to development server react native android studio - react-native

I reinstall node modules again and this error appears
Error: Forward-slash in opening tag not followed by >Line: 9Column: 42Char: / at error (F:\project\node_modules\sax\lib\sax.js:651:10) at strictFail (F:\project\node_modules\sax\lib\sax.js:677:7) at SAXParser.write (F:\project\node_modules\sax\lib\sax.js:1295:13) at new XmlDocument (F:\project\node_modules\xmldoc\lib\xmldoc.js:261:15) at readManifest (F:\project\node_modules\#react-native-community\cli-platform-android\build\config\readManifest.js:38:10) at Object.projectConfig (F:\project\node_modules\#react-native-community\cli-platform-android\build\config\index.js:70:46) at Object.get project [as project] (F:\project\node_modules\react-native\node_modules\#react-native-community\cli\build\tools\config\index.js:106:50) at filterConfig (F:\project\node_modules\react-native\node_modules\#react-native-community\cli\build\commands\config\config.js:13:20) at Object.func (F:\project\node_modules\react-native\node_modules\#react-native-community\cli\build\commands\config\config.js:27:32) at Command.handleAction (F:\project\node_modules\react-native\node_modules\#react-native-community\cli\build\index.js:186:23)

There's a syntax error in your AndroidManifest.xml.

Related

React native - Error with Google mobile ads

I am build a mobile app with react native
"react-native": "^0.71.1",
"react-native-google-mobile-ads": "^9.1.1"
Without google-mobile-ads, app is working okay. But with this module, I get this error
023-02-07 23:05:06.067 xcodebuild[92292:1835009] [MT] IDEFileReferenceDebug: [Load] <IDESwiftPackageCore.IDESwiftPackageSpecialFolderFileReference, 0x7fa23ae8f960: name:Docs.docc path:group:Docs.docc> Failed to load container at path: /Users/sangnlee/Library/Developer/Xcode/DerivedData/aaa-csqwegbowuhmbrehpztorwqemvkb/SourcePackages/checkouts/swift-protobuf/Sources/protoc-gen-swift/Docs.docc, Error: Error Domain=com.apple.dt.IDEContainerErrorDomain Code=6 "Cannot open "Docs.docc" as a "Swift Package Folder" because it is already open as a "Folder"." UserInfo={NSLocalizedDescription=Cannot open "Docs.docc" as a "Swift Package Folder" because it is already open as a "Folder".}
** BUILD FAILED **
The following build commands failed:
Ld /Users/aaa/Library/Developer/Xcode/DerivedData/aaa-csqwegbowuhmbrehpztorwqemvkb/Build/Products/Debug-iphonesimulator/aaa.app/aaa normal (in target 'aaa' from project 'aaa')
(1 failure)
Anyone knows how to solve this?

(plugin node-resolve) Error: Error running plugin hook resolveId for node-resolve, expected a function hook

Following 14.0.0 version upgrade for "#rollup/plugin-node-resolve" plugin, when running my build I always get this error message :
[!] (plugin node-resolve) Error: Error running plugin hook resolveId for node-resolve, expected a function hook.
Error: Error running plugin hook resolveId for node-resolve, expected a function hook.
at error (/Users/***/Documents/GitHub/poke/node_modules/rollup/dist/shared/rollup.js:198:30)
at throwInvalidHookError (/Users/***/Documents/GitHub/poke/node_modules/rollup/dist/shared/rollup.js:22635:12)
at /Users/***/Documents/GitHub/poke/node_modules/rollup/dist/shared/rollup.js:22776:24
Was there any breaking change that I should be aware ?

facing Cannot read properties of null error after deploying next js app

I deploy my next.js app in cPanel. The app is working properly in localhost but in cPanel it shows error of
TypeError: Cannot read properties of null (reading 'content')
at main-aff9f5cd95c9bd16.js:1:10552
at main-aff9f5cd95c9bd16.js:1:11029
at Array.forEach (<anonymous>)
at Object.updateHead (main-aff9f5cd95c9bd16.js:1:10400)
at Object.t [as _pendingUpdate] (main-aff9f5cd95c9bd16.js:1:90322)
at main-aff9f5cd95c9bd16.js:1:90761
at ri (framework-4556c45dd113b893.js:1:93730)
at Ss (framework-4556c45dd113b893.js:1:113957)
at is (framework-4556c45dd113b893.js:1:106214)
at jl (framework-4556c45dd113b893.js:1:46913)
I am disturbed by this error because I am not using any content variable in my project. I don't know from where this error is occurred. Kindly tell me how to solve this error.

Build failed with an exception : could not get unknown property 'mergeResourcesProvider'

After i install #expo/vector-icons
i can't build my application again with this error appear.
*Where
Script 'C:\Users\Mostafa\SecurityEye\node_modules\react-native\react.gradle' line: 95
A problem occurred configuring project ':app'.
could not get unknown property 'mergeResourcesProvider' for object of type com.android.build.gradle.internal.api.ApplicationVariantImpl.
line 95:
variant.mergeResourcesProvider.get().dependsOn(currentBundleTask)
maybe you can update gradle version to 4.10.1 android buildtool to 3.3.0

Can't use SpeechKit Titanium module from iOS in my app

I want want to use Speechkit SDK in my app, since I found it recognize words better than the native tool did.
I found a Titanium module on GitHub but it is designed to work with Titanium SDK 3.1.3.GA . I am currently working with SDK 5.0.0.GA.
What am I supposed to do to import this module in my mobile app ? I updated the titanium.xcconfig file to reflect the version of my SDK. I also put my credentials into it and build the project. Then I compressed it and installed it via Help Menu > Install Mobile Module. I finally added it to the tiapp.xml file.
When I try to run the project, this is what I get :
[ERROR] : ** BUILD FAILED **
[ERROR] : The following build commands failed:
[ERROR] : Ld Build/Intermediates/Hello5.build/Debug-iphoneos/Hello5.build/Objects-normal/arm64/Hello5 normal arm64
[ERROR] : Ld Build/Intermediates/Hello5.build/Debug-iphoneos/Hello5.build/Objects-normal/armv7/Hello5 normal armv7
[ERROR] : (2 failures)
TRACE | titanium exited with exit code 1
ERROR | Error: ti run exited with error code 1
at ChildProcess.<anonymous> (/Users/feeder/.appcelerator/install/5.0.1/package/node_modules/appc-cli-titanium/plugins/run.js:89:66)
at ChildProcess.emit (events.js:117:20)
at Process.ChildProcess._handle.onexit (child_process.js:820:12)
I tried to create a new module by hand and drag-and-drop files into it, and also tried to install globally vs project-specific, I can't come with an idea for making it work. Thank you in advance if you could share an idea ;)
I have the same error and looking the console using Trace appears "framework SpeechKit not found".
I've successfully resolved this error by packaging the module to your project directly selecting "Mobile App Project" given that Module.xcconfig sets "FRAMEWORK_SEARCH_PATHS" to find SpeechKit framework on "assets" folder from the project directly.