RenderHeads / UnityPlugin-AVProVideo

AVPro Video is a multi-platform Unity plugin for advanced video playback
https://www.renderheads.com/products/avpro-video/
224 stars 27 forks source link

Build Problem #1821

Closed WebBusiness2019 closed 2 months ago

WebBusiness2019 commented 2 months ago

i am trying to create video app using Unity and when i am trying to build for an android it failed

Your Setup (please complete the following information):

Logs WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 33

This Android Gradle plugin (7.1.2) was tested up to compileSdk = 32

This warning can be suppressed by adding android.suppressUnsupportedCompileSdk=33 to this project's gradle.properties

The build will continue, but you are strongly encouraged to update your project to use a newer Android Gradle Plugin that has been tested with compileSdk = 33

Task :launcher:preBuild UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:preBuild UP-TO-DATE Task :unityLibrary:preBuild UP-TO-DATE Task :launcher:preDebugBuild UP-TO-DATE Task :unityLibrary:preDebugBuild UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:preDebugBuild UP-TO-DATE Task :launcher:mergeDebugNativeDebugMetadata NO-SOURCE Task :unityLibrary:packageDebugRenderscript NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:compileDebugAidl NO-SOURCE Task :unityLibrary:writeDebugAarMetadata UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:writeDebugAarMetadata UP-TO-DATE Task :unityLibrary:compileDebugAidl NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:packageDebugRenderscript NO-SOURCE Task :unityLibrary:generateDebugResValues UP-TO-DATE Task :launcher:generateDebugBuildConfig UP-TO-DATE Task :launcher:compileDebugAidl NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:compileDebugRenderscript NO-SOURCE Task :unityLibrary:compileDebugRenderscript NO-SOURCE Task :unityLibrary:generateDebugResources UP-TO-DATE Task :launcher:compileDebugRenderscript NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:generateDebugResValues UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:generateDebugResources UP-TO-DATE Task :launcher:javaPreCompileDebug UP-TO-DATE Task :unityLibrary:packageDebugResources UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:packageDebugResources UP-TO-DATE Task :unityLibrary:extractDeepLinksDebug UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:extractDeepLinksDebug UP-TO-DATE Task :unityLibrary:processDebugManifest UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:processDebugManifest UP-TO-DATE Task :unityLibrary:compileDebugLibraryResources UP-TO-DATE Task :unityLibrary:parseDebugLocalResources UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:parseDebugLocalResources UP-TO-DATE Task :unityLibrary:generateDebugBuildConfig UP-TO-DATE Task :unityLibrary:javaPreCompileDebug UP-TO-DATE Task :unityLibrary:mergeDebugShaders UP-TO-DATE Task :unityLibrary:compileDebugShaders NO-SOURCE Task :unityLibrary:generateDebugAssets UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:generateDebugRFile UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:compileDebugLibraryResources UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:generateDebugBuildConfig UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:javaPreCompileDebug UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:compileDebugJavaWithJavac UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:bundleLibCompileToJarDebug UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:mergeDebugShaders UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:compileDebugShaders NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:generateDebugAssets UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:packageDebugAssets UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:processDebugJavaRes NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:bundleLibResDebug NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:bundleLibRuntimeToJarDebug UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:mergeDebugJniLibFolders UP-TO-DATE Task :unityLibrary:FirebaseApp.androidlib:mergeDebugNativeLibs NO-SOURCE Task :unityLibrary:FirebaseApp.androidlib:copyDebugJniLibsProjectOnly UP-TO-DATE Task :unityLibrary:packageDebugAssets Task :launcher:checkDebugAarMetadata UP-TO-DATE Task :launcher:generateDebugResValues UP-TO-DATE Task :launcher:generateDebugResources UP-TO-DATE Task :launcher:mergeDebugResources UP-TO-DATE Task :launcher:createDebugCompatibleScreenManifests UP-TO-DATE Task :launcher:extractDeepLinksDebug UP-TO-DATE Task :launcher:processDebugMainManifest UP-TO-DATE Task :unityLibrary:generateDebugRFile UP-TO-DATE Task :launcher:processDebugManifest UP-TO-DATE Task :launcher:processDebugManifestForPackage UP-TO-DATE Task :unityLibrary:compileDebugJavaWithJavac UP-TO-DATE Task :unityLibrary:processDebugJavaRes UP-TO-DATE Task :unityLibrary:bundleLibResDebug UP-TO-DATE Task :unityLibrary:bundleLibRuntimeToJarDebug UP-TO-DATE Task :unityLibrary:mergeDebugJniLibFolders UP-TO-DATE Task :launcher:processDebugResources UP-TO-DATE Task :launcher:mergeDebugShaders UP-TO-DATE Task :unityLibrary:mergeDebugNativeLibs UP-TO-DATE Task :launcher:compileDebugShaders NO-SOURCE Task :launcher:generateDebugAssets UP-TO-DATE Task :launcher:mergeDebugAssets Task :launcher:processDebugJavaRes NO-SOURCE Task :launcher:mergeDebugJavaResource UP-TO-DATE Task :launcher:mergeDebugJniLibFolders UP-TO-DATE Task :launcher:validateSigningDebug UP-TO-DATE Task :launcher:writeDebugAppMetadata UP-TO-DATE Task :launcher:writeDebugSigningConfigVersions UP-TO-DATE Task :launcher:compressDebugAssets Task :launcher:checkDebugDuplicateClasses FAILED Task :unityLibrary:bundleLibCompileToJarDebug Task :unityLibrary:copyDebugJniLibsProjectOnly 57 actionable tasks: 6 executed, 51 up-to-date

UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

Screenshots image

i tryied from 4 day to install Avpro properly in unity i found many solution in statck overflow but thay didnt work for me, i try to add android-33 in plateform folder in editor and update compilesdkverion in gradlefile but its not working

Chris-RH commented 2 months ago

Make sure android-32 and android-33 are found in \Editor\Data\PlaybackEngines\AndroidPlayer\SDK\Platforms

In your gradles (main and launcher Templates), write this:

minSdkVersion 22 (or higher if you wish) targetSDKversion 32 compileSDKversion 33

If its a guava library issue, then its not an AVPro specific error. Its a common Unity error that doesn't seem to have one specific solution. More info in https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1525

Last8Exile commented 2 months ago

@WebBusiness2019 warrning already confirms, that compileSDK 33 is used. Your logs does not contain actual error.

Chris-RH commented 2 months ago

Closed due to lack of reply

WebBusiness2019 commented 2 months ago

Your reply are very late when we seen it you closed the problem

On Mon, Apr 22, 2024, 2:53 PM Chris-RH @.***> wrote:

Closed due to lack of reply

— Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1821#issuecomment-2068911470, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMFOPSLYLD656JQVONUKWFTY6TJKFAVCNFSM6AAAAABGEG275WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRYHEYTCNBXGA . You are receiving this because you were mentioned.Message ID: @.***>

Chris-RH commented 2 months ago

Hi, I responded to you on the Monday morning after you submitted the issue (on Friday evening after I had finished working) and I have not heard anything since. Your information provided did not have any AVPro specific errors showing, so I made a guess as to what might be causing it.

WebBusiness2019 commented 2 months ago

Hi,

I tried a lot with setting a av pro properly but always get some issues with it a already changed minimum ask and target SDK after I always get firebase error of duplicate class while after uninstalling avpro it's working fine I have no clue how to solve this issue I search on lots of in stack overflow and then get support contact in GitHub but while I waiting for your reply I found HISPlayer for hls and das video playing so my problem is sold for a while to test my application but sir I still want to use AVPro. Can you provide me updated solution or documenation for setting up avpro

Thank you.

On Tue, Apr 23, 2024, 7:32 PM Chris-RH @.***> wrote:

Hi, I responded to you on the Monday morning after you submitted the issue (on Friday evening after I had finished working) and I have not heard anything since. Your information provided did not have any AVPro specific errors showing, so I made a guess as to what might be causing it.

— Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1821#issuecomment-2072402376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMFOPSOOZG2TMXMJ4IJMEOTY6ZSYXAVCNFSM6AAAAABGEG275WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSGQYDEMZXGY . You are receiving this because you were mentioned.Message ID: @.***>

WebBusiness2019 commented 1 month ago

Hi,

I again open an issue with avpro can you help me to setup properly

On Tue, Apr 23, 2024, 7:59 PM WebBusiness 2019 @.***> wrote:

Hi,

I tried a lot with setting a av pro properly but always get some issues with it a already changed minimum ask and target SDK after I always get firebase error of duplicate class while after uninstalling avpro it's working fine I have no clue how to solve this issue I search on lots of in stack overflow and then get support contact in GitHub but while I waiting for your reply I found HISPlayer for hls and das video playing so my problem is sold for a while to test my application but sir I still want to use AVPro. Can you provide me updated solution or documenation for setting up avpro

Thank you.

On Tue, Apr 23, 2024, 7:32 PM Chris-RH @.***> wrote:

Hi, I responded to you on the Monday morning after you submitted the issue (on Friday evening after I had finished working) and I have not heard anything since. Your information provided did not have any AVPro specific errors showing, so I made a guess as to what might be causing it.

— Reply to this email directly, view it on GitHub https://github.com/RenderHeads/UnityPlugin-AVProVideo/issues/1821#issuecomment-2072402376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AMFOPSOOZG2TMXMJ4IJMEOTY6ZSYXAVCNFSM6AAAAABGEG275WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZSGQYDEMZXGY . You are receiving this because you were mentioned.Message ID: @.***>