Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I got this error during the building of the project. I just downloaded and try to compile it without changing anything and got this error... #6

Closed
NomanBaigA opened this issue Dec 30, 2021 · 6 comments

Comments

@NomanBaigA
Copy link

e: C:\Users\DELL\Desktop\onemore\SaveIt-master\android\app\src\main\kotlin\com\mmapps\flutter_app_youtube_demo\MainActivity.kt: (25, 29): Object is not abstract and does not implement abstract base class member protected/protected and package/ abstract fun onExtractionComplete(@nullable p0: SparseArray<YtFile!>?, @nullable p1: VideoMeta?): Unit defined in at.huber.youtubeExtractor.YouTubeExtractor
e: C:\Users\DELL\Desktop\onemore\SaveIt-master\android\app\src\main\kotlin\com\mmapps\flutter_app_youtube_demo\MainActivity.kt: (26, 33): 'onExtractionComplete' overrides nothing

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:compileReleaseKotlin'.

Compilation error. See log for more details

@katariyanikhil
Copy link
Owner

Try changing android SDK versions.

@NomanBaigA
Copy link
Author

Try changing android SDK versions.

I tried different versions and it's useful, thanks for that. but I get some other errors
........................................................................................................................................................................

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processReleaseResources'.

A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
Android resource linking failed
C:\Users\DELL.gradle\caches\transforms-2\files-2.1\6b84d84e86ee0194c8eee66a1338bd63\appcompat-1.0.0\res\values-v28\values-v28.xml:5:5-8:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

 C:\Users\DELL\.gradle\caches\transforms-2\files-2.1\6b84d84e86ee0194c8eee66a1338bd63\appcompat-1.0.0\res\values-v28\values-v28.xml:9:5-12:13: AAPT: error: resource android:attr/dialogCornerRadius not found.

 C:\Users\DELL\.gradle\caches\transforms-2\files-2.1\672935a6b2f1dbdf048a025004a69e66\core-1.2.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/fontVariationSettings not found.

 C:\Users\DELL\.gradle\caches\transforms-2\files-2.1\672935a6b2f1dbdf048a025004a69e66\core-1.2.0\res\values\values.xml:142:5-173:25: AAPT: error: resource android:attr/ttcIndex not found.

@katariyanikhil
Copy link
Owner

I think there is a problem with gradle version try to check it and make changes in gradle as this project was made in an earlier/older version of gradle.

@NomanBaigA
Copy link
Author

I think there is a problem with gradle version try to check it and make changes in gradle as this project was made in an earlier/older version of gradle.

Both answers are working for me but there is one problem with that. if I try SDK version 27 or less then I face 'Android resource linking failed' full error I showed before but if I try SDK version 28 or more then I face an error related to YouTubeExtractor which I showed before.

@katariyanikhil
Copy link
Owner

Yeah, it might get you an error because some dependencies are not working on some android SDK versions. I am looking into it why its happening.

@NomanBaigA
Copy link
Author

Yeah, it might get you an error because some dependencies are not working on some android SDK versions. I am looking into it why its happening.

Any solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants