Why can't I test on my phone(P40) with the apk file I've sent on Cloud Testing? - testing

Why can't I test on my phone(P40) with the apk file I've sent on Cloud Testing?
Please give instructions on how to install the program on your mobile phone.

Cloud Testing allows compatibility tests of your app on diverse real devices. The test automatically detects compatibility issues, including exceptions during app installation/reinstallation/uninstallation/launches, crashes, ANR problems, unexpected exit, running errors, UI errors, black/white screen issues, and exit failures. Please refer to Huawei's official guide in details:
https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-cloudtest-compatibilitytest-0000001082683302
Sign in to AppGallery Connect and click My projects.
Click your project from the project list.
Go to Project settings > Quality > Cloud Testing.
Click Test for free. For the first test, an introduction to Cloud Testing is displayed on the right of the page. Skip steps 6 and 7 for the first test and skip steps 4 and 5 if you have created a test.
Find the Compatibility test card and click Start now on the card.
Go to Quality > Cloud Testing. On the displayed test list page, click New test in the upper right corner
Click the Compatibility test tab
Click Upload (max 2 GB) in the Apps area to upload your APK. After the upload is complete, select the app to be tested and click Next.
Filter and select test devices as required. By default, all available test devices are displayed
Click OK. In the displayed Information dialog box, you can create another test or click View test list to go to the test result page.
Please note: A test may take about 60 minutes. You can also view the test result from the Cloud Testing service page. For details, please refer to steps 11 to 14.
But if you are asking about testing your APK on real device , then please use debug feature of tools like Android studio etc. To start debugging an APK, click Profile or debug APK from the Android Studio Welcome screen. Or, if you already have a project open, click File > Profile or Debug APK from the menu bar. In the next dialog window, select the APK you want to import into Android Studio and click OK.
For details , please refer to :
https://developer.android.com/studio/debug/apk-debugger
If you are facing issue in installing APK manually on P40 then try allowing File Manager/other apps to install unknown apps by going to Settings > Apps > Menu > Special access > Install unknown apps. Or if still unable to install APK ,please go to the device department website for help get more professional services. The link is:
https://consumer.huawei.com/en/support/

Related

How can I set nox player as my expo emulator?

nox player is very smooth in compare to genymotion. I have very low spec pc when I use genymotion in expo it legs a lot nox player is super smooth.is there any way to set a nox player as expo emulator?
After some research I got the answer:-
step 1: In Nox player Enable root access in Settings
step 2: Go to settings, go to about tablet and tap build number for 8 times to enable developer options
step 3: Go to developer options and enable "usb debugging"
step 4: Open terminal and type adb connect 127.0.0.1:62001. type adb devices to make sure your emulator is connected.
step 5: Go to your project, type react-native run-android --deviceId 127.0.0.1:62001, waiting for the project to finish compiling, and you will see a red error screen.
step 6: Open the developer menu, Go to Dev Settings → Debug server host for device, Assume your local ip is 192.168.1.121, then type: 192.168.1.121:8081
step 7: Use developer menu to reload your app, then close the app and reopen it.
step 8 : After all this done open expo xde it run your app automatically
Note: This solution works only with expo client. Not with react-native bare-bone.
I don't know if it is the real solution, but this also works.
First, start your expo project by expo start or npm start
After complete startup, you will get a message like Tunnel ready.
Type "s" in the terminal in which the expo is running. It will prompt you to create a new account or log in with an existing account.
When you signed in or logged in to your account, go to Expo Developer Tools (usually at localhost:19002).
There, you will see an option send link with email. Click it and type your email address.
Now, make sure that you have your mail client and expo app is installed in your nox player.
Open the email in your emulator and click the link given.
That's it, your app should be running on your nox emulator.

Deploy app onto a real device and get rid of local-dev-server dependence

Appreciate your lecture.
Currently, I can successfully deploy the app onto my iPhone device.
However, the app is rely on local-dev-server.
How could I get rid of the local-dev-server?
I used this command to deploy the app react-native run-ios --device 'iPhone' onto my cellphone
Here's my repo
https://github.com/poc7667/reacti-native-album
Here is a section from RN docs:
Building an app for distribution in the App Store requires using the Release scheme in Xcode. Apps built for Release will automatically disable the in-app Developer menu, which will prevent your users from inadvertently accessing the menu in production. It will also bundle the JavaScript locally, so you can put the app on a device and test whilst not connected to the computer.
To configure your app to be built using the Release scheme, go to Product → Scheme → Edit Scheme. Select the Run tab in the sidebar, then set the Build Configuration dropdown to Release.
you just need to select the Release scheme on the run configuration in xCode and hit the run button.

icon not change in device

For the icon change effect on the android emulator and device if i install manually .apk .ipa file . It works fine after changing the application icon and uploaded mobilefirst console in the production environment.
but problem is marketing manager mail me . application updated but not changed the Application icon in iOS and android device.
at this situation what can i do ?
I flowing this
link
It is not clear to me whether you refer to the icon that you see on the device home screen or to the icon that you see in the AppCenter console.
The icon on the home screen is managed by the device OS, and Idan's answer is correct here. This effect has nothing to do with IBM AppCenter but rather with the device OS.
The icon in the IBM AppCenter console is cached for 30 minutes in the browser, in order to allow the browser to refresh the screen more quickly. The idea is that icons change rarely and speed it important. There is a Java VM property ibm.appcenter.services.iconCacheMaxAge (in seconds) that can be set to a different value to modify this effect.
Based on the comments, an update will not take place if you did not increment the version number of the application.
If you change a native resource such as the app icon, but do not increment the application version number then the check for a new version will not see the update because it is basing it on the version number.
Update the version number and upload the updated .apk and .ipa; the update should then happen.

How to automatically reload changes HTML/CSS after "Run on Worklight Dev Server"?

I have a hybrid Worklight app and every time I change the HTML code I have to delete the app from Admin Console, Clean from Eclipse, clear Chrome browsing data and redeploy.
How can I automatically make WL reload the HTML changes every time I redeploy a WL environment (no more remove from Console or Clean from Eclipse)?
My first response is: huh?
You are totally not supposed to do this...
Starting Worklight 6.1, after a change in any of an application's web resources (HTML, JS, CSS, images, ...), after the initial deployment of the app (Run As > Run on Worklight Development Server) you no longer even need to re-build the app.
When you preview the app via Worklight Console, all you need to do is to refresh the browser window. That's it.
You most definitely should not delete the app from Worklight Console or "Clean from Eclipse".
That said, if you are talking about previewing the "Common web resources" option in Worklight Console, what you may want to do (hopefully as a one-time action) is to:
Close Eclipse
Locate your temp folder (Windows, OS X)
Delete the wlBuildResources folder (optionally wlPreview folder as well)
Open Eclipse
Re-build
Should work.
Now that that's fixed you can click the Go/Refresh Button of the simulator to utilize the "instant preview" feature during development.

Unable to download application OTA iOS

I'm trying to distribute a beta version of an app OTA. I'm using team provisioning profile and through Xcode it runs fine on my iPhone. When I click the download link it shows me the usual popup and the app starts downloading but before the progress bar makes any progress I get "Unable to download application at this time". Console shows absolutely nothing.
Verify that the bundle-identifier key is the same as the one which you have used to build the ipa file. Also bundle-version key should be the same as the one in the ipa