This repository was archived by the owner on Oct 4, 2022. It is now read-only.
This repository was archived by the owner on Oct 4, 2022. It is now read-only.
Deploy Android application fails to start application at mobile device #479
Open
Description
Describe the bug
When I "Deploy to local device" my Android Application (builded in Android Studio and deployed to device also there) do not restart project at mobile device. The logs show "[ERROR] Failed to unlock screen". But the content is changed so when I start my app manually I see new content. It just not start it automatically.
Steps to reproduce
- Click "Deploy" buton in Editor,
- In my case with unselected "Build game" option - I cannot test it as I described in previous issue,
- Set other options and choose Mode: Local files (I didn't test it with VFS yet),
- Click "Deploy to local device" buton.
Expected behavior
The content in my application is updated or my application gets started or restarted.
Screenshots/Logs
[INFO] Processing assets...
[INFO] Running WAF command: lmbr_waf.bat deploy_android_armv8_clang_profile --enabled-game-projects=TestProject -pall --from-editor-deploy --deploy-android=True --deploy-android-asset-mode=loose --deploy-android-clean-device=False --deploy-android-executable=False --deploy-android-replace-apk=False --deploy-android-device-filter=5f5565c9
[WAF] Engine Root: I:\Amazon\lumberyard\dev\
[WAF] Executing 'deploy_android_armv8_clang_profile'
[WARN] Invalid module 'AmazonQtControlGallery' in spec 'all'
[WARN] Invalid module 'LyIdentity_shared' in spec 'all'
[WARN] Invalid module 'LyIdentity_static' in spec 'all'
[WARN] Invalid module 'LyInstallerMetrics' in spec 'all'
[WARN] Invalid module 'LyMetricsConsumer' in spec 'all'
[WARN] Invalid module 'LyMetricsProducer_python' in spec 'all'
[WARN] Invalid module 'LyMetricsProducer_shared' in spec 'all'
[WARN] Invalid module 'LyMetricsProducer_static' in spec 'all'
[WARN] Invalid module 'LyMetricsShared_shared' in spec 'all'
[WARN] Invalid module 'LyMetricsShared_static' in spec 'all'
[WARN] Invalid module 'LyzardGems' in spec 'all'
[WARN] Invalid module 'LyzardEngines' in spec 'all'
[WARN] Invalid module 'LyzardProjects' in spec 'all'
[WARN] Invalid module 'NewsBuilder' in spec 'all'
[WARN] Invalid module 'ToolsCrashUploader' in spec 'all'
[WARN] Invalid module 'SerializeContextTools' in spec 'all'
[WARN] Invalid module 'DeltaCataloger' in spec 'all'
[WARN] Module use dependency 'CrashHandler' for target 'CrySystem' refers to an invalid module
[WARN] Module use dependency 'billing' for target 'InAppPurchases' refers to an invalid module
[WARN] Using deprecated option --deploy-android-asset-mode, option has been renamed to --android-asset-mode
[INFO] Starting to deploy to android device 5f5565c9
[INFO] Scanning 3297 files to determine which ones need to be copied...
[1/7] adb_copy_output (android_armv8_clang|profile): Cache\TestProject\es3\bootstrap.cfg
[2/7] adb_copy_output (android_armv8_clang|profile): Cache\TestProject\es3\system_android_es3.cfg
[3/7] adb_copy_output (android_armv8_clang|profile): Cache\TestProject\es3\testproject\assetcatalog.xml
[4/7] adb_copy_output (android_armv8_clang|profile): Cache\TestProject\es3\testproject\levels\simple\filelist.xml
[5/7] adb_copy_output (android_armv8_clang|profile): Cache\TestProject\es3\testproject\levels\simple\level.pak
[6/7] adb_copy_output (android_armv8_clang|profile): Cache\TestProject\es3\testproject\levels\simple\tags.txt
[WAF] 'deploy_android_armv8_clang_profile' finished successfully (3.634s)
[INFO] Valid shader compiler detected.
[ERROR] Failed to unlock screen
**** Deploy Failed! *****
Lumberyard version
1.23.1 with fix from 472 issue.