feixuwu / document

7 stars 5 forks source link

Getting error when build #8

Open HasibTheNeWb opened 11 months ago

HasibTheNeWb commented 11 months ago

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: System.ArgumentException: An item with the same key has already been added. Key: EasyAdsPro Easy Ads error

Please help me to fix this.

feixuwu commented 11 months ago

never see this error before, I see a lot of space in your project path, can u fix it? just move your project to the root drive(for example d:/), it may fix the problem.

获取Outlook for Androidhttps://aka.ms/AAb9ysg


From: HasibTheNeWb @.> Sent: Wednesday, October 25, 2023 3:28:19 PM To: feixuwu/document @.> Cc: Subscribed @.***> Subject: [feixuwu/document] Getting error when build (Issue #8)

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: System.ArgumentException: An item with the same key has already been added. Key: EasyAdsPro [Easy Ads error]https://user-images.githubusercontent.com/142440806/277908354-cf8aec55-c88e-4602-903b-1b3fd8206083.png

Please help me to fix this.

― Reply to this email directly, view it on GitHubhttps://github.com/feixuwu/document/issues/8, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5TWCXUUNJJHMMLAKUYWWLYBC5RHAVCNFSM6AAAAAA6O4IJY2VHI2DSMVQWIX3LMV43ASLTON2WKOZRHE3DANZTGUZDGOA. You are receiving this because you are subscribed to this thread.Message ID: @.***>

HasibTheNeWb commented 11 months ago

okay my bad i fixed that error, just need to rebuild from visual studio, But getting another error Easy Ads error

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Task :app:compileReleaseJavaWithJavac FAILED UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0). UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:230: error: cannot access Chartboost UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Make sure all annotation processors are incremental to improve your build speed. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): import com.chartboost.sdk.Chartboost; UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^ UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): bad class file: C:\Users\hassh.gradle\caches\transforms-2\files-2.1\b61e0e6848491a4cdbf21073b10b2ed3\jetified-chartboost-sdk-8.4.1-api.jar(com/chartboost/sdk/Chartboost.class) UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): class file has wrong version 55.0, should be 52.0 UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Please remove or make sure it appears in the correct subdirectory of the classpath. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): FAILURE: Build failed with an exception. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): What went wrong: UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Execution failed for task ':app:compileReleaseJavaWithJavac'. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Compilation failed; see the compiler error output for details. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 33 actionable tasks: 1 executed, 32 up-to-date UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Try: UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): * Get more help at https://help.gradle.org UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 7s UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c "D:\Project\My Unreal Projects\Paskour Mobile\ParkourOgg\Intermediate\Android\arm64\gradle\rungradle.bat" :app:assembleRelease UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see D:\UE5Main\UnrealEngine-5.1_Source\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace) UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool executed for 0h 1m 18s UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown) UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED PackagingResults: Error: Unknown Error

feixuwu commented 11 months ago

seems like your plugin is too old, chartboost have moved there library, so if u use old address can not download chartboost library. u can try disabled chartboost in plugin setting or upgrade to latest version,both will fix it.

获取Outlook for Androidhttps://aka.ms/AAb9ysg


From: HasibTheNeWb @.> Sent: Wednesday, October 25, 2023 8:33:03 PM To: feixuwu/document @.> Cc: xufeiwu @.>; Comment @.> Subject: Re: [feixuwu/document] Getting error when build (Issue #8)

okay my bad i fixed that error, just need to rebuild from visual studio, But getting another error [Easy Ads error]https://user-images.githubusercontent.com/142440806/278007440-b1ded657-079c-4b30-885f-ad36daad969e.png

UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Task :app:compileReleaseJavaWithJavac FAILED UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0). UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:230: error: cannot access Chartboost UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Make sure all annotation processors are incremental to improve your build speed. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): import com.chartboost.sdk.Chartboost; UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^ UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): bad class file: C:\Users\hassh.gradle\caches\transforms-2\files-2.1\b61e0e6848491a4cdbf21073b10b2ed3\jetified-chartboost-sdk-8.4.1-api.jar(com/chartboost/sdk/Chartboost.class) UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): class file has wrong version 55.0, should be 52.0 UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Please remove or make sure it appears in the correct subdirectory of the classpath. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): FAILURE: Build failed with an exception. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): What went wrong: UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Execution failed for task ':app:compileReleaseJavaWithJavac'. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Compilation failed; see the compiler error output for details. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 33 actionable tasks: 1 executed, 32 up-to-date UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Try: UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): * Get more help at https://help.gradle.org UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 7s UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c "D:\Project\My Unreal Projects\Paskour Mobile\ParkourOgg\Intermediate\Android\arm64\gradle\rungradle.bat" :app:assembleRelease UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see D:\UE5Main\UnrealEngine-5.1_Source\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace) UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool executed for 0h 1m 18s UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown) UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED PackagingResults: Error: Unknown Error

― Reply to this email directly, view it on GitHubhttps://github.com/feixuwu/document/issues/8#issuecomment-1779173800, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5TWCWPQIM5H7TEQFAXFY3YBEBH7AVCNFSM6AAAAAA6O4IJY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGE3TGOBQGA. You are receiving this because you commented.Message ID: @.***>

HasibTheNeWb commented 11 months ago

seems like your plugin is too old, chartboost have moved there library, so if u use old address can not download chartboost library. u can try disabled chartboost in plugin setting or upgrade to latest version,both will fix it. 获取Outlook for Androidhttps://aka.ms/AAb9ysg ____ From: HasibTheNeWb @.> Sent: Wednesday, October 25, 2023 8:33:03 PM To: feixuwu/document @.> Cc: xufeiwu @.>; Comment @.> Subject: Re: [feixuwu/document] Getting error when build (Issue #8) okay my bad i fixed that error, just need to rebuild from visual studio, But getting another error [Easy Ads error]https://user-images.githubusercontent.com/142440806/278007440-b1ded657-079c-4b30-885f-ad36daad969e.png UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Task :app:compileReleaseJavaWithJavac FAILED UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): The following annotation processors are not incremental: lifecycle-compiler-2.0.0.jar (androidx.lifecycle:lifecycle-compiler:2.0.0). UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Z:\app\src\main\java\com\epicgames\unreal\GameActivity.java:230: error: cannot access Chartboost UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Make sure all annotation processors are incremental to improve your build speed. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): import com.chartboost.sdk.Chartboost; UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ^ UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): bad class file: C:\Users\hassh.gradle\caches\transforms-2\files-2.1\b61e0e6848491a4cdbf21073b10b2ed3\jetified-chartboost-sdk-8.4.1-api.jar(com/chartboost/sdk/Chartboost.class) UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): class file has wrong version 55.0, should be 52.0 UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Please remove or make sure it appears in the correct subdirectory of the classpath. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): FAILURE: Build failed with an exception. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): What went wrong: UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Execution failed for task ':app:compileReleaseJavaWithJavac'. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): > Compilation failed; see the compiler error output for details. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): 33 actionable tasks: 1 executed, 32 up-to-date UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Try: UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): * Get more help at https://help.gradle.org UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED in 7s UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): ERROR: cmd.exe failed with args /c "D:\Project\My Unreal Projects\Paskour Mobile\ParkourOgg\Intermediate\Android\arm64\gradle\rungradle.bat" :app:assembleRelease UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): (see D:\UE5Main\UnrealEngine-5.1_Source\Engine\Programs\AutomationTool\Saved\Logs\Log.txt for full exception trace) UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool executed for 0h 1m 18s UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): AutomationTool exiting with ExitCode=1 (Error_Unknown) UATHelper: Packaging (Android (Multi:ASTC,DXT,ETC2)): BUILD FAILED PackagingResults: Error: Unknown Error ― Reply to this email directly, view it on GitHub<#8 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5TWCWPQIM5H7TEQFAXFY3YBEBH7AVCNFSM6AAAAAA6O4IJY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGE3TGOBQGA. You are receiving this because you commented.Message ID: @.***>

I can't find any chartboost plugin in unreal engine plugin section, from where should disable or upgrade the plugin ??

HasibTheNeWb commented 11 months ago

oh sorry i get it, after disabling Chartboost will the mediation work ??

feixuwu commented 11 months ago

if u disabled chartboost,mediation will works for other ad networks except chartboost.

获取Outlook for Androidhttps://aka.ms/AAb9ysg


From: HasibTheNeWb @.> Sent: Wednesday, October 25, 2023 9:31:45 PM To: feixuwu/document @.> Cc: xufeiwu @.>; Comment @.> Subject: Re: [feixuwu/document] Getting error when build (Issue #8)

oh sorry i get it, after disabling Chartboost will the mediation work ??

― Reply to this email directly, view it on GitHubhttps://github.com/feixuwu/document/issues/8#issuecomment-1779284738, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AC5TWCQYAJYJL3CHBOM24CLYBEIEDAVCNFSM6AAAAAA6O4IJY2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGI4DINZTHA. You are receiving this because you commented.Message ID: @.***>