It only shows "All essential packages installed for all installed Qt versions" being a problem which tells me nearly nothing. Most of all what I really want to see here is more information about what is missing and what it is trying to do. If I have no NDK installed it does this, but it also does this if I install it (manually, AndStud SDK manager, or Qt SDK manager). I get a whiff of: it wants to download the NDK but for some reason can't. Do you want to install the missing packages?" > Yes > Nothing happens. "Android SDK installation is missing necessary packages. To recap here are the strange things I'm seeing: ![]() But nothing I try solves the problem or even tells me what the problem is. I deployed a basic android project to my phone and to a virtual device. In this time I installed this environment on my linux machine and with little drama everything is working. I am doing this without opening/starting a project yet, just trying to set things up. This is without a project! I sometimes see advice about changing settings for your project. Tried running QtCreator as admin just in case there was some kind of permission thing. The nf file it complains about exists and looks fine to me. Tried User vs System variables as well (all 4 combinations) no effect. Tried targeting my r20 ndk, also no effect. Value: C:\Users\X\AppData\Local\Android\Sdk\ndk\147 So I tried adding it to my Windows 10 environment variables. When I click OK or Apply from here I get an error in "General Messages": Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.Ĭould not read qmake configuration file C:/Qt/5.15.0/android/mkspecs/android-clang/nf. If I say Yes, popup goes away and nothing happens. Do you want to install the missing packages?" Title: "Missing Android SDK packages - Qt Creator"īody: "Android SDK installation is missing necessary packages. ![]() Java and OpenSSL are ok here, this is the only problem on this page. There is a list of necessary components and all of them have green checks except for one: "All essential packages installed for all installed Qt versions." This one has a red x. ![]() Under Android Settings I have "Android settings have errors". Some of these errors aren't very helpful.Īll Android SDK/NDK/Tools etc were installed using Android Studio before installing Qt (I actually uninstalled everything and started from scratch this way). If anyone knows how to get or see more verbose error logging that would help too. ![]() gradlew crashlyticsUploadSymbolsRelease to upload your symbols.Ive been stumped by this for about 4 days now. I moved Crashlytics configuration to my library module: buildscript block: The Fabric Gradle plugin requires the Android Gradle plugin to be applied before it in your adle. Is the -androidNdkOut setting configured correctly? I am using :gradle:2.3.3 and io.fabric.tools:gradle:1.23.0.Ĭom.codemapping.CodeMappingException: Crashlytics could not find NDK output directory '/obj'. I have native code in library module and enabled Crashlytics in app module. If using the Android plugin for Gradle version 2.2.0 with the externalNativeBuild DSL, you should remove the androidNdkOut and androidNdkLibsOut properties, as these paths will automatically be detected by the Fabric plugin.īut it's not working for me because my native code located in library module I guess.
0 Comments
Leave a Reply. |