After installing Gluon on (Eclipse Neon 4.6.2) I can see the Gradle Task 'run' but the task 'androidInstall' (for installing to the device) is not visible. if I click to the task installApp happens also nothing
I tried to do the steps at:
http://docs.gluonhq.com/javafxports/#_prerequisites
but the Android SDK with the Android Support Library is not available anymore.
is that the reason? any ideas?
Related
I am trying to run my emulator after adding the firebase and google sign in plug ins/dependencies to my gradle.build files and now I am receiving the error
"Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0"
anyone know if I am doing something wrong this is a react native firebase app.
I am not sure what to try. This is my first app I am doing for a project at school and I do not really know what I am doing. I have just been following tutorials online
Solve this issue by deleting the .gradle folder from <NameOfProject>/android and again run npm run android
I think I just had this same problem. I don't have any idea what your error logs are though so I am not certain however this is my error log right here:
`> Task :react-native-gradle-plugin:compileKotlin FAILED
'compileJava' task (current target is 1.8) and 'compileKotlin' task (current target is 11) jvm targeta version. 1 actionable task: 1 executed`
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-gradle-plugin:compileKotlin'. Failed to query the value of task ':react-native-gradle-plugin:compileKotlin' property 'compilerRun Kotlin could not find the required JDK tools in the Java installation. Make sure Kotlin compilat
This error however I fixed by editing the gradle-wrapper.properties file's distributionUrl variable. I changed the distributionUrls gradle version to 7.4.2 the file is in Project-Name\android\gradle\wrapper\gradle-wrapper.properties
My error log is saying that gradle's version of JVM want's to be version 11 and is not but you can check gradle's jvm version by using cd android in the project root directory and after that run ./gradlew --version Change JVM's version from the version it is showing to the version that it says is required like in my case v 11. The way I changed gradle's JVM version required chocolatey which is a package manager. This is where you can require it https://chocolatey.org/install and after you have setup chocolatey open a new terminal that has administrative privileges and run this choco install -y nodejs-lts openjdk11 with the JVM version it is asking for inside your error logs
and finally run npm start and after that npm run android inside a refreshed and new terminal and gradle's JVM version and gradle's version will be updated to the specified versions
We could better help if you could you show us your android/build.gradle and android/app/build.gradle files, but here are more specific instructions than you find in the docs:
In android/build.gradle, dependencies should look something like this:
dependencies {
classpath 'com.android.tools.build:gradle:4.2.1'
classpath 'com.google.gms:google-services:4.3.10'
classpath("com.android.tools.build:gradle:<version>")
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:<version>")
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
see: https://github.com/gyani-sunkara/rn-firebase-login-starter/blob/main/android/build.gradle
It is known this works with the classpaths at the beginning.
--
Also in android/app/build.gradle, it is known that the google-services dep works at the end of the file.
apply plugin: 'com.google.gms.google-services'
and make this the last "implementation" under dependencies (around line 272)
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' // <-- add this; newer versions should work too
see: https://github.com/gyani-sunkara/rn-firebase-login-starter/blob/main/android/app/build.gradle
Then, delete android/.gradle and run npx react-native run-android in the root directory.
I'm trying to making a UI test with Firebase test lab from Android studio.
But I'm still stuck on the step: Uploading app APK ...
Anyone already faced this issue?
Thank you in advanced
The problem was about my android studio and gradle version.
They were not up-to-date.
So I set Android studio 3.6.2 and gradle 3.6.2 and now i'm ,not stuck anymore !
Not able to run Xamarin iOS project after Visual studio update.
Because updated IDE requires the latest Xcode (iOS 13.4 SDK shipped with Xcode 11.4)
Environment Details
OS Version : macOS Mojave, OS X 10.14.6
IDE : Visual Studio Community 2019 for Mac Version 8.5.1 (build 42)
Xamarin.iOS Version: 13.16.0.11 (Visual Studio Community)
Xamarin.Mac Version: 6.16.0.11 (Visual Studio Community)
Xcode Version 13.2
What I tried.
Instead of updating the Xcode, I simply changed the Linker Behaviour to Link Framework SDKs Only.
No luck, I got the following errors.
Error MT5210: Native linking failed, undefined symbol: ___darwin_check_fd_set_overflow.
Please verify that all the necessary frameworks have been referenced and native libraries are properly linked in. (MT5210)
Error MT5202: Native linking failed. Please review the build log. (MT5202)
Error: linker command failed with exit code 1 (use -v to see invocation)
Reference.
Linker Behaviour
mtouch arguments
Is there any other option to resolve the issue without update the Xcode and macOS?
Any help will be really appreciated.
Thank you
Cause : Latest visual studio requires latest Xcode (iOS 13.4 SDK
shipped with Xcode 11.4)
To solve the issue install the latest Xcode or use a lower
Xamarin.iOS Version
if you are on a mac, you might be able to find the previous installer here:
~/Library/Caches/VisualStudio/[Replace with Visual Studio Version]/TempDownload
or, if you know the version of the previous version of ios, you can download it from here (change the version number to suite your needs:
https://dl.xamarin.com/MonoTouch/Mac/xamarin.ios-13.14.1.39.pkg.
Xamarin/xamarin-macios Releases, which contains every version
if you are on windows, this post might give you some clues on where to find the local cache instead: https://montemagno.com/cleanup-up-space-xamarin-dev-machine/
For more details: Ans-1 | Ans-2
The latest version of Visual-Studio use the latest version of Xamarin.iOS which may not work with the lower version of Xcode .
So use a lower Xamarin.iOS Version would solve this problem.
It looks like Apple have broken usage of -no_weak_imports with a recent XCode (see https://github.com/mono/mono/issues/19393#issuecomment-606852342 and https://github.com/mono/mono/issues/19393#issuecomment-607126761 ). Upstream Mono appears to have worked around the issue with https://github.com/dotnet/runtime/pull/36436 ) but one wonders why Apple introduced a hard dependency on a weak symbol in their system libraries while still providing the option to disable weak symbols...
I have spent dozens of time looking for the solution. I gave up.
I use Qt 5.3 for development and I build cross platform solution.
My MacbBook Pro runs Mac OS X 10.9.3 Mavericks.
My project successfully runs in ios-simulator and desktop builds.
But I couldn't deploy it to neither AVD nor real Android Device.
Here is the logs:
Building the android package failed!
-- For more information, run this command with --verbose.
Generating Android Package
Input file: /Users/xxx/build-xxx-Android_for_armeabi_v7a-Debug/android-libxxx.so-deployment-settings.json
Output directory: /Users/xxx/build-xxx-Android_for_armeabi_v7a-Debug/android-build
Application binary: /Users/xxx/build-xxx-Android_for_armeabi_v7a-Debug/libxxx.so
Android build platform: android-19
Install to device: emulator-5554
19:43:56: The process "/Applications/Qt/5.2.1/android_armv7/bin/androiddeployqt" exited with code 14.
Error while building/deploying project xxx (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.2.1))
When executing step 'Deploy to Android device'
19:43:56: Elapsed time: 02:13.
Do you have any ideas?
Solved.
The issue was:
I set incorrect path to ant executable.
Qt was not able to build android app and for sure deploy it.
Now I am able to run app on the device, but still can't run app with emulator.
Good luck.
I am trying to use the titanium developer v.1.2.1 but i have some difficulty the simulators are not lunching!
for the iPhone simulator nothing happens it just goes like this and the simulator is not shown
[INFO] Compiling JavaScript...one moment
[INFO] No JavaScript errors detected.
[INFO] One moment, building ...
[INFO] Titanium SDK version: 1.4.1.1
[INFO] iPhone Device family: iphone
[INFO] iPhone SDK version: 3.1
And for the Android ti says
[INFO] Launching Android emulator...one moment
[INFO] Building HelloWorld for Android ... one moment
[INFO] Waiting for the Android Emulator to become available
[INFO] Copying project resources..
[INFO] Tiapp.xml unchanged, skipping class generation
[INFO] Manifest unchanged, skipping Java build
[ERROR] /Users/vladimirrobevski/Desktop/android-sdk-mac_x86/tools/apkbuilder
[INFO] Installing application on device
[ERROR] Failed installing com.devoncompanyinc.helloworld: pkg: /data/local/tmp/app.apk
Is someone having the same problem?How to fix this
I'm unclear if you are trying to run the app in the simulator or the phone. I'll assume for iphone, you are talking simulator.
I have had this same problem before with iphone (but not android) along with other build issues like this. Here's what I did to get it to work:
Delete the contents of the iphone build folder (as described in other answer).
Assuming you are on a mac, open project in XCode and build from there.
Run simulator from xcode...you can connect your phone and run on phone from there,
too.
If the simulator doesn't work from here, you'll need to update your xcode tools. If it works, go to next step.
Launch Titanium developer and run the
project again. It should launch in the simulator.
what I usually do is delete the all of the files in the build/iphone directory... just the files NOT the directories and that should force a complete rebuild of the project