While I'm trying to run application on simulator I'm getting below warning
Multiple targets match implicit dependency for linker flags '-framework Cordova'. Consider adding an explicit dependency on the intended target to resolve this ambiguity. (in target 'AbbWorld' from project 'AbbWorld')
Target 'Cordova' (in project 'CordovaLib')
Target 'Cordova' (in project 'Pods')
Even though its just a warning I should be able to run the application but I'm unable to do so
Issue is on Xcode 13 Beta 5. Working fine on Xcode 12.5
podfile
Thanks in Advance!!
Related
So I was building out a test APK in Android Studio tonight that had to be signed. It failed and said my Gradle was out of date. So I upgraded my gradle from 7.3.3 to the newest 7.5.1
I changed the wrapper setting to distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-all.zip
and then I changed my build.gradle dependency to classpath 'com.android.tools.build:gradle:7.5.1'
Note that after doing the changes, and restarting Android Studio, it did upgrade the version in the app directory.
Here's the error getting thrown below:
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all files for configuration ':classpath'.
> Could not find com.android.tools.build:gradle:7.5.1.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/7.5.1/gradle-7.5.1.pom
- https://repo.maven.apache.org/maven2/com/android/tools/build/gradle/7.5.1/gradle-7.5.1.pom
Required by:
project :
Note that this was a project from a client, and I did not write this originally. These dependencies were in place, but fairly recent, and the app would build fine with it using 7.3.3. However it wouldn't let me sign my app.
I suppose I could use some wisdom on both of these issues. What I'm going to do is go back to version 7.3.3, build the signed APK again, and copy that exact error to report back here with. It was a gradle version error.
For any any Flutter noobs like myself passing through, this error occured because the Android Tools Plugin version DOES NOT match the Gradle Version:
https://developer.android.com/studio/releases/gradle-plugin#groovy
They match up just vaguely enough in number, that you would think that my line com.android.tools.build:gradle:7.5.1. uses gradle 7.5.1, but instead, Android Tools for Gradle is actually a separate entity, and at 7.3.3 as of typing this reply.
So you CAN set your Gradle to the newest version somewhere else in your project, but it has to match the compatible Android Tools version, which is set here. Its silly and confusing at first, and can easily trip up newcomers. Hopefully the versions diverge enough, or the code syntax changes for some better clarity, but as of now, this is it.
I am using VS 2017 with version 15.3.0. I have a project with C++ source codes that can be built successfully in VS version 15.2 but failed in 15.3 with the following error:
msxml2.lib(msxml2_i.obj) : fatal error LNK1103: debugging information corrupt; recompile module
Does anyone have suggestions about this?
I have filed a bug report to Microsoft including a sample application which reproduces the bug:
https://developercommunity.visualstudio.com/content/problem/99785/mfcs140libstdafxobj-fatal-error-lnk1103-debugging.html
Hopefully this will be fixed in a subsequent 15.3.x update.
I met the same problem when my project use an external lib(CyAPI.lib).
I tried delete the Debug folder, and recompiled, but the problem still exist.
I resolved the problem by changed to CyAPI.lib to the newest version.
My project is dependency on Module A & B
And Module A is dependent on Module B
After I setup the dependencies, Multiple dex exception is encountered.
FYI
My project is doing native + Cordova WebView
and I try to accelerate by Ludei WebView+ for the low end model
https://github.com/ludei/webview-plus
My project dependent on Cordova module & Ludei WebView+ module
Cordova module dependent on Ludei WebView+ module
After these setting I can successfully build by grade with no warning, but I do not pass dexDebug when I want to build application.
I got this error
com.android.dex.DexException: Multiple dex files define Lcom/ludei/chromium/BuildConfig;
I know it is officially recommended to build on ANT, I have did some trick I change the webview+ package name I can build the "debug" application but not in "release".
How can I set it properly in android studio to build it by gradle without having multiple dex exception?
---------UPDATE -------------
#Scott Barta Yes, here is whole cordova project under [project]/platforms/android.
The Whole project files. module: CordovaLib,webviewplus
https://github.com/gaplo917/cordova-cocoonjs-gradle
I can build a debug with cocoonjs by changing the package name to another name,i.e. package="com.ludei.android.chromium" but with no luck on building a release version.
https://github.com/gaplo917/cordova-cocoonjs-gradle/blob/master/webviewplus/src/main/AndroidManifest.xml
if cocoonjs is not run properly, the application can still be built but when you request a cordova web view , it will crash!
I have just download the DNN package no source and source version too opened it in visual studio 2012 in building it is showing these errors.
I unblock the zip folder before extracting. It works fine when I configure it through netmgr.exe option IIS. I want to do that from visual studio. P.S I am using windows 8.1
Error 1 Could not load file or assembly 'DotNetNuke.Web.DDRMenu' or one of its dependencies. The system cannot find the file specified. C:\Users\Umair\Downloads\DNN_Platform_07.02.02_Install\admin\ControlPanel\RibbonBar.ascx 8
Error 2 The file '/DNN_Platform_07.02.02_Install/DesktopModules/DDRMenu/Menu.ascx' does not exist. C:\Users\Umair\Downloads\DNN_Platform_07.02.02_Install\admin\ControlPanel\RibbonBar.ascx 9
Error 3 Unknown server tag 'dnn:MENU'. C:\Users\Umair\Downloads\DNN_Platform_07.02.02_Install\admin\ControlPanel\RibbonBar.ascx 13
I don't think you're supposed to even try to compile the website they distribute. It should come with everything already compiled for you. Disable building for the website project from the build options dialog to get rid of spurious errors if you have other projects you'd like to compile in the same solution.
I'm not all too surprised there's a few errors in there (It's DNN, what did you expect?)
I'm compiling a project that works OK in Eclipse, and builds fine with ant, but in IntelliJ IDEA gives:
Internal groovyc error: code 1
How can I resolve this? Other error messages include:
1:35:46 PM Unknown Natures Detected
Imported projects contain unknown natures:
org.eclipse.jdt.groovy.core.groovyNature
Some settings may be lost after import.
1:43:55 PM Compilation completed with 1 error and 7 warnings in 20 sec
Groovyc: Cannot compile Groovy files: no Groovy library is defined for module
Groovy itself is installed on Linux. Adding it as a groovy compiler in settings does not affect the behavior:
> groovy --version
Groovy Version: 1.7.4 JVM: 1.6.0_24
Apparently you tried to import an Eclipse project into IDEA, and that isn't good enough. (Groovy) Eclipse comes with its own version of Groovy, whereas in IDEA, you have to add groovy-all-1.7.4.jar (or whatever version you want to use) as a compile dependency.
You have to add JAXB dependencies if you are using Groovy 2.5.3 + Java 11 (also check out Java 11 related change). Groovy comes with extra JAXB Jars so we can add them. Open 'Project Structure' dialog, then select 'Dependencies' tab and add the dependencies
Changing the project SDK from Java 15 to Java 8 seemed to have magically fixed the same problem on my machine.
Steps:
Go to File > Project structure... (may differ on Mac/Linux).
Under Project Settings, select Project.
In Project SDK: dropdown, choose a different version of the JDK installed.
Click Apply & OK at the bottom of the dialog.
** Rerun your program.
This worked for me!!
Read the log before the "Internal groovyc error: code 1", then it should show you a groovy version mismatch. Change your groovy version from the dependency list as per the log.
Ex. compile 'org.codehaus.groovy:groovy-all:2.4.11'
Move the Groovy dependency in the module settings to the top right after JDK.
I could make it work just by reestart intellij and invalidate the caches.
It can be found (for intelliJ 2018.1):
File -> Invalidate Caches/restart -> Invalidate and Restart
I found this solution which worked totally for me. You can use this link for fixing this problem
resolving-groovyc-internal-groovyc-error-code-1
I had to reinstall groovy SDK and it started working.
i was use wrong SDK ,please cheak your SDK version