![]() Took me a lot of tinkering, trial and error, but the main issue is duplicating the project. Rem In case you have a permission denied error, try to use the ‘adb root’ command MyUnrealGame)Įcho Was the app created with Unreal Engine 4 or 5 ? (4/5) Hope that onĮcho Please enter the name of the app (name of UE Project - i.e. ![]() bat file tells you what you have to enter, since my knowledge of CMD wasn’t enough to fully automate the process. You can either use the bat file or you should be able to select the lines relevant to you. This covers both cases for apps created with Unreal Engine 4 & 5 (since the path on the device changed slightly). bat file to delete the app from a device. I didn’t repeat the test on other mobile phones, so this can also be caused by my device… I suspect this may either be an access permission problem, or the UE launch for Android API 30 fails to transmit components to the device.I don’t see the reason, so I leave the problem here. In debug sessions of both working and problematic APK’s, the “FileName” to open is “…/…/…/FpsDemo.uproject”, one just opens and reads whereas the other fails. ![]() The reader object is null, hence the error. TUniquePtr Reader(IFileManager::Get().CreateFileReader(Filename, ReadFlags)) Through debug, the problem arises when opening the. When I debug this APK, which is generated by “Launch” in UE with API 30, the error occurs. Several APK’s exist in my disk: the packed APK locates in the specified folder, without much doubt whereas another APK is generated in the UE project folder as the result of “Launch” in the UE editor, it is placed at “xxx/Binaries/Android/xxx.apk”. With AS, I debugged the APK with “Profile or debug APK”. ![]() ![]() I also change the targeting API version to 28, there’s no error either launching with UE or AS. I don’t know why this can happen because my mobile phone supports API 30.Īmong other attempts, I pack the game (developer/shipping) for Android API 30, and then launch that APK with Android Studio(AS), there’s no error message this time. This problem only occurs to me when the targeting platform is set and then click “Launch (on Android)” in the editor. However, maybe the following notes can help further investigations: But now I can bypass this problem by adjusting the packing configuration, so I’m not going to spend more time on this issue. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |