While setting up DevEco I am not able to set the HarmonyOS SDK path, What is the issue? - huawei-mobile-services

While setting up DevEco I am not able to set the HarmonyOS SDK path, What is the issue?

You can delete the old DevEco and try reinstalling it.
For details, you could follow the this document.

Related

Breakpoints not working with Flutter in Android Studio

I can set breakpoints, but when I run in Debug mode the breakpoint's icon change with this:
I think that the problem is the new version of Flutter plugin in Android Studio, but I'm not sure. How to fix this?
What I've tried:
flutter clean
android studio cache clean and restart
Upgrade to the latest version of the flutter plugin 65.1.3 solved my problem.
https://plugins.jetbrains.com/plugin/9212-flutter/versions
need to roll back the version of the flutter plugin to 64.1.2.
https://plugins.jetbrains.com/plugin/9212-flutter/versions
Confirmed: plug-in was one thing.
The other problem is that IntelliJ (same for Android Studio) distinguish between:
import '../../viewmodel/**m**essages
import '../../viewmodel/**M**essages
Compiling, running, Dart analysis ... everything's fine. However, breakpoints don't work!
To be more precise: some breakpoints don't work, only in some files!
Tip: If a breakpoint does not work, remove all imports in the file. Click the bulb to get suggestions - and you will see the duplicate imports.
See wrong imports
Btw.: I am on Windows. And the file system does not distinguish between upper and lower case filenames.
Faced to this issue today as well: looks like for me the solution was to update Flutter / Dart SDK and their Plugins for Android Studio.
Some users report the problem is linked to the Chrom Version >=100 due to API change, but on my side it was not working with Edge as well.
After update problem has gone
There is indeed also an issue with Chrome Version >=100. Running flutter upgrade (to flutter 2.10.5) fixed this for me as described here

Not able to set the HarmonyOS SDK location. What to do?

After installed DevEco studio. I have to setting up a new project but, Showing following error
Here I am not able to set the HarmonyOS SDK location, How to set sdk location?
You need to set the SDK location in the root like below:
More details can be found in https://developer.harmonyos.com/en/docs/documentation/doc-guides/environment_config-0000001052902427

How can I fix this issue when starting a Unity project?

Recently I updated Unity from version 2020.1.0b6 to 2020.1.16f1, but after starting the project, I started getting errors, and all two versions, I tried to reinstall, nothing helps. Below are links to screenshots
photo1
photo2
Please open Package Manager from Window/Package Manager on the menu.
There, you will be able to find packages that are related to the issues.
And please try to remove or update the packages.
If it's possible, would you share a screenshot of your Package Manager?

Parameter format not correct - flutter run

Even when I run a new project in my device or emulator, during Assemble debug process a message appears in Debug Console 'Parameter Format not correct', but the app seems to run properly.
when I add 1-2 dependencies/ plugins, countless redlines occurs in Debug Console...
I don't know what is the reason and solution.
Sorry guys this happens every time you run a project build by the previous version of flutter... and this error is not a big deal... dont worry...
I have also faced the same issue. It started coming when I upgraded the flutter SDK to version 1.17.3. The easiest solution I can come up with is to downgrade the flutter SDK.
If you are using VS code then you easily switch between flutter SDKs from the bottom bar.
To add flutter SDK -
Goto file -> settings -> flutter SDK -> Add item
then you can give the path of other SDK.
If you are not using the VS code, change the path of SDK from environment variables.
If this doesn't work out, try changing the drive for SDK of flutter and android both.
Example- From D:\flutter to E:\flutter. I have not tried this but for my friend, it worked.
If none of these workes, just ignore this error. They might fix this in future upgrades.
it may be possible ,you have cloned the repo from github and trying to run on your local machine. just change the compileSdkVersion in android>app>build.gradle file, i was facing this issue and get it fixed now
android {
compileSdkVersion 30
}
I had the same issue, but it was fixed by running flutter doctor --android-licenses
I had the same issue try to change Your Environment variable path
If you're using VS Code, then you can try this process: Go to Settings -> Flutter SDK Paths -> click on Add Item. Then put the Flutter SDK location from your drive.
For example: C:\Flutter\flutter_windows_2.5.2-stable\flutter.
I hope it worked!!
Same problem, but it was fixed by running following command in terminal.
flutter doctor --android-licenses

IL2CPP does not work due to NDK (Unity 2019.2.0f1)

I desperately need to build 64-bit of my application since Google Play does not accept 32-bit apps anymore. Mono builds just fine but when I switch to IL2CPP it says it can't locate NDK. However, NDK is automatically installed via **Unity Hub.**
I saw similar posts regarding to NDK in previous versions of Unity but I thought this would be fixed by now with latest Unity version. I have also tried to use a different NDK but I was still getting the same error.
Please help....
Check the Preferences dialog in the Unity Editor. It should have an option to provide a path to the Android NDK directory. There you can manually enter the path to the proper NDK installation location.
Well actually this turned to be related to MacOS version. On my other Mac, which is newer, the same Unity version detects NDK just fine.
The reason is that the NDK path being set automatically by Unity is wrong:
Unselect 'android NDK installed with Unity' in Unity Preferences. It will show the NDK Path. At the end of the path, you need to add:
/android-ndk-r16b
Check here for more details:
https://stackoverflow.com/questions...nable-to-locate-android-ndk/58241817#58241817