Can't run app on Huawei lite wearable (GT2 PRO): API error when installing on device - huawei-mobile-services

I am trying to write an app for my GT2 Pro but when I try to install my app with Huawei DevEco Assistant, it gives me the following error:
Installation failed: 47. Invalid value entered for app.apiVersion
Here is the steps I did:
I created a [Lite] JS project.
I signed the app without any changes on project.
I built a signed hap and copied it to the haps directory on the phone.
I tried to install app via DevEco Assistant.
DevEco Studio details:
DevEco Studio 2.1.0.501 with api 4-5
DevEco Studio 3.1.0.100 with api 4-7

I assume you followed the process for debugging your app on GT2 Pro at https://developer.huawei.com/consumer/en/doc/distribution/app/agc-help-harmonyos-debugapp-manual-0000001177608893, especially on Sports watches section.
What's the software version in the GT2 Pro? If it has been upgraded to the latest version, you need to check the build.gradle file and ensure the SDK version is correct. For the lite-wearable device, the compatible API 4 and target API 5 are recommended. You may set API 4 for both or API 3 and API 4, depending on HarmonyOS version in your device. You also need to make sure the API configuration is consistent in the config.json file if the "apiVersion" is configured. In addition, you should use the official released DevEco Studio such as version 3.0 or version 2.1 for your app development and debugging.

Related

Generate HarmonyOS (Huawei) build from Flutter project

I am working on one Flutter project. In which, We want to generate builds of Android, iOS, and HarmonyOS (Huawei). But I am not sure does Flutter supports this OS or not. I went through some of the stuff on the internet but was unable to figure out how to generate and what kind of commands were needed. Here, Anyone has previously generated HarmonyOS compatible build from the Flutter project. Please share your thoughts.
For now it is not possible directly from Flutter. Because of the change in architecture brought by Huawei with HarmonyOS it is not anymore an "Android device" and it doesn't run "Android applications".
Now what you can call "native HarmonyOS applications" are *.app files (not *.apk or *.aab)
Most recent answer on Quora to:
Will Harmony OS run Android apps?
Gives the following response:
Answered Jun 4, 2021 by Mahdi Parastech, Software Engineer
Nope, because:
The structure of the APIs are different.
Hongmeng (HarmonyOS) apps are in *.app, Android apps are *.apk
The structure of pages (activities) are different, Hongmeng uses some additional json files and puts pages inside *.har files.
Hongmeng uses Javascript too, and that's the only option in Wearable Hongmeng devices, but Android apps are just written in Java.
source
Apparently you should be able to migrate your native android application to HarmonyOS by using their IDE but the thing is that Flutter was not build for this architecture.
Except if the Flutter team decides for some reason to support HarmonyOS I don't think it will be possible to develop HarmonyOS applications by using Flutter.

App Launch: The Huawei Lite Simulator supports only Lite projects

When trying to run my test app on a HVD emulator, I get the following error message:
App Launch: The Huawei Lite Simulator supports only Lite projects.
Meanwhile I've realized, that currently one can only use hardware or a remote emulator for such a project. But when trying to set this up, the Harmony OS Virtual Device Manager responds with 404:
Is there anything to do about it?
I haven't tried with DevEco Studio on Windows so far, but with Android Studio on Linux, which appears to be functioning now.
With HMS Toolkit version 1.0.5, it will ask for Huawei ID and then also lists devices in Düsseldorf or Ireland (where the one is a city and the other a country). However, there are currently only EMUI ROM available. It integrates better than before, but without an HarmonyOS 2.0 ROM, it still doesn't provide the expected environment.

Testflight Invalid build while using Mobile Quality Assurance

I am new for ionic i added "Mobile Quality Assurance" sdk using below the tutorials
SDK Downloads : http://www.ibm.com/support/knowledgecenter/SSJML5_6.0.0/com.ibm.mqa.uau.saas.doc/topics/IOSSDKsForDownload.html
Installation - http://www.ibm.com/support/knowledgecenter/en/SSJML5_6.0.0/com.ibm.mqa.uau.saas.doc/topics/t_InstallingTheIOSLibraries.html
and my project contains "MFP" Plugin
Now the app is working well on devices, but if i uploaded to app store i am seeing "invalid binary"
Note: Before implementing "Mobile Quality Assurance" build shown on preparing for submission.
It is unclear what is the version of the IBM MobileFirst SDK you're using, but since you say you're using Ionic as the platform for creating your Cordova application, you may be using v8.0 of MobileFirst, in which case MQA is not supported. See here for more information: IBM MobileFirst Quality Assurance - MQA Not Defined

Installing the Facebook C# SDK

I want to implement login using facebook in my windows phone 7.1 application
When I try to install Facebook C# SDK using the nuget package manager console. It is added successfully, but when I try to add the reference to my project its giving following error.
I did not write any code or anything. I just want to add the reference to facebook like using facebook; in my code behind file
I just tested this and I cannot reproduce the error.
Make sure you uninstall any old version of the SDK.
Then, right-click the project and add the SDK using nuget.
Do not install by hand.
That error message seems pretty clear - your project is set to target Windows Phone 7.1, but that version of the Facebook SDK doesn't support Windows Phone 7.1
See if there's an updated version of the SDK which supports 7.1, or target your project at a version that the Facebook SDK does support

Adobe AIR packager yields Unable to open destination file: ... Info.plist in Application Loader

I have an app in the App Store that I produced using the Adobe AIR 2.0 packager back in March 2011. Now, the client wants to update it. But, I can no longer upload an update.
I get the following error when using the Application Loader:
Unable to unzip application. Underlying reason: Unable to open destination file: /var/folders/05/d7xltrms59j0n1bplx_nvwr0000gn/T/Protocols.ipa/Payload/ProtocolsSmall.app/Info.plist, No such file or directory.
Looking inside the IPA, Info.plist is certainly in there.
I tried using new provisioning and new certificates, I tried using Java 32-bit, I tried reinstalling Flash CS5. I tried the 2.5 SDK (I can't using anything higher though).
I wonder if this packager is creating an outdated IPA that Apple no longer accepts. Ideas anyone?
I managed to solve the problem. I used the AIR 2.5 SDK and PFI. Then, I upgraded Application Loader to 2.4.1 and that did the trick.
To download AIR 2.5 SDK, go to the Adobe archives: http://kb2.adobe.com/cps/853/cpsid_85304.html
To download an updated version of PFI, go to the following link:
MAC:
http://download.macromedia.com/pub/flash/updates/11/ios/mac/PFI_MAC_2_0_1_12640.zip
There is a Windows version, but I can't post that link since I'm only allowed to post 2 hyperlinks.