My app was working all of sudden this error popped up.
Could not find com.google.firebase:firebase-crash:16.2.1#aar.
Required by:
project :app
Search in build.gradle files
tried importing the modules suggested by Android not working
Related
I'm trying to npm run deploy on my project where I'm storing the minified font-awesome css file and I'm getting the following error:
Creating an optimized production build...
Failed to compile.
./src/assets/css/font-awesome.all.min.css
ParserError: Syntax Error at line: 1, column 30
The app works fine on development sever.
The error shows whether I'm importing the css to the main css file or the main js file.
I only found some related old posts with potential solutions for a next.js project and yarn like in this link: https://github.com/vercel/next-plugins/issues/310
This is a react project and I'm using npm.
Any suggestions?
Can't comment on this unless there's more information regarding module-bundler and what is the configuration for the same. As it's treated differently according to module-bundler.
I would suggest you to use official package of fontawesome for react #fortawesome/react-fontawesome
PS. Module Bundler configuration should not be changed without proper knowledge as it can make whole application crash.
Could not parse the Android Application Module's Gradle config. Resolve gradle build issues and/or resync.
I have tried many of the solutions but finally I have resolved this error
Check out my Screenshots and configure it in similar way.
If you are using new Android Studio or any recent version you will not find jcenter in recent version in your build-gradle file.
build-gradle[project]
build-gradle[app]
Dependencies in App level gradle
In settings.gradle comment out jcenter
Settings.gradle
Project Structure Settings
Project Structure Settings
Project Structure Settings 2
Hope this will solve your error.
I get the following error all the time:
Discovered plugin "cordova-plugin-firebase" in config.xml. Adding it to the project
Installing "cordova-plugin-firebase" for ios
Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh!
File already exists at destination "/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/RACE SOS/Resources/GoogleService-Info.plist" for resource file specified by plugin cordova-plugin-firebase in iOS platform
at install (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/lib/plugman/pluginHandlers.js:64:23)
at ActionStack.process (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
at PluginManager.doOperation (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:114:20)
at PluginManager.addPlugin (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:144:17)
at Api.addPlugin (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/Api.js:234:10)
at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:594:10)
at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:357:28
at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:854:54)
at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:883:30
at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:13)
Failed to restore plugin "cordova-plugin-firebase" from config.xml. You might need to try adding it again. Error: Uh oh!
File already exists at destination "/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/RACE SOS/Resources/GoogleService-Info.plist" for resource file specified by plugin cordova-plugin-firebase in iOS platform
I found it impossible to fix this error. I put my plugins in order to install Firebase first, but I still get this error when I try to install the plugin in the iOS platform. I also removed the platform and added it again and I still get the error. I deleted the whole project and downloaded again, installed the dependencies and build it, but I still get the cordova-plugin-firebase error...
I had a chance to fix this issue and please follow the below steps.
Rename the file GoogleService-Info.plist in our root folder to GoogleService-Info.plistxx
Remove the file inside your platform/ios/AppName/Resources/GoogleService-Info.plist
Run the command ionic cordova plugin add cordova-plugin-firebase
Rename the file GoogleService-Info.plistxx in our root folder to GoogleService-Info.plist
I am programming using Meteor.js and the IDE am using is WebStorm; whenever I hit run in WebStorm I get this kind of error:
The system cannot find the path specified.
I don't know how to fix it. I've tried to visit the paths that are in the WebStorm output, but I found meteor.bat & runnerw.exe
"C:\Program Files (x86)\JetBrains\WebStorm 2016.3.4\bin\runnerw.exe" C:\Users\forland\AppData\Local\.meteor\meteor.bat
The system cannot find the path specified.
Process finished with exit code 3
Have you correctly followed the Running and debugging a Meteor application instructions in the WebStorm help guide? It sounds like WebStorm is not able to find the meteor executable.
Here are some other resources that could help.
Run/Debug Configuration: Meteor
Languages and Frameworks: Meteor
Also, try running your meteor project outside of WebStorm to make sure you don't have a meteor executable problem.
From the command line, browse to your meteor project's folder.
Run the project
meteor run
Update your question if you get an errors or have more information after trying these resources.
I must be doing something totally stupid here, but I can't get the PLCrashReporter framework included in my project. Here are the steps I took to get the framework:
Downloaded the .dmg file from the official project site on google code
Copied the CrashReporter.framework folder to the root directory of my project
Added the framework by going to my project, selecting the target, going to the Build Phases tab, opening the Link Binary With Libraries section, clicking the plus sign, and adding the CrashReporter.framework folder
I am pulling in the framework in my class file by using
#import <CrashReporter/CrashReporter.h>
When I try to compile under 4.3 simulator, I get the following errors:
Undefined symbols for architecture i386:
"_OBJC_CLASS_$_PLCrashReporter", referenced from:
objc-class-ref in AppDelegate+CrashReporting.o
"_OBJC_CLASS_$_PLCrashReport", referenced from:
objc-class-ref in AppDelegate+CrashReporting.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
When I compile under the device, everything is fine. Is there some sort of header or library search path I need to include?
The app compiles under XCode 3 without issues under all configurations.
I had the same issue and was able to resolve it. Here are the steps I completed...
Download the PLCrashReporter source release and unzip.
Open the PLCrashReporter xcode project. This project is setup to use an old SDK, update all the required SDKs for each target to get rid of the warnings. This is also required to compile in the next step.
Navigate to the CrashReporter-iPhoneSimulator Target. Under the Build Settings: a) set "Perform Single-Object Prelink" to "No", b) set "Mach-O Type" to "Static Library".
Select CrashReport-iPhoneSimulator : [IOS simulation (ie iPhone 4.3 Simulator)] and click build.
Navigate to your build directory for the PLCrashReporter. For me, it was /Users/username/Library/Developer/Xcode/DerivedData/CrashReporter-(random characters)/Build/Products/Debug-iphonesimulator
Copy the libCrashReporter-iphonesimulator.a from the build directory in step 5 to the iphone application project directory you want to add the crash reporter to.
Open the your iphone application project in xcode.
Download the PLCrashReporter binary release and extract the framework to a local directory.
Add the CrashReporter framework to your project using this SO post.
Following the same procedure as step 9, add the libCrashReporter-iphonesimulator.a static library to the "Link Binary with Libraries" section of the build phases. No *.framework directory is needed when adding a static library.
Review the "Link Binary with Libraries" in the Target. Make sure the libCrashReporter-iphonesimulator.a is listed above the CrashReporter framework. You can drag and drop to reorder.
I hope this helps.
For anyone else looking for this information:
I followed the same steps given above however I was getting errors. I deleted the static library and only included the framework (which you can get from their dmg).
It worked perfectly for me. I think the process of creating static library by building the project was old (before they created a framework).
Thanks.
Don't forget to include
libstdc++.dylib
in "Link Binary With Libraries".