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

build fail ? & upgrade compose version ? #2

Closed
CMingTseng opened this issue Jul 2, 2022 · 4 comments
Closed

build fail ? & upgrade compose version ? #2

CMingTseng opened this issue Jul 2, 2022 · 4 comments

Comments

@CMingTseng
Copy link

Dear Sir

the new compose library version is 1.1.1

can upgrade ?


i try export "SplashScreenController" as subproject & library (aar) ( this demo theme res is other res library )

the export is pass , i can create subproject & aar file

but my demo project

dependencies {
implementation "com.ellison.flappybird.util:SplashScreenController:0.0.1" <--- build pass
}

dependencies {
implementation project(path: ':SplashScreenController') <--- build fail
}

only get error message

Execution failed for task ':XXX:compileXXXXReleaseKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

can help me ?

THX

@ellisonchan
Copy link
Owner

ellisonchan commented Jul 4, 2022

See log for more details

Could U give me some logs.

By the way, SplashScreenController subproject will build ok?

@CMingTseng
Copy link
Author

See log for more details

Could U give me some logs.

By the way, SplashScreenController subproject will build ok?

This week i give a demo ?


other issue

SplashScreenController + theme at Android 5 get crash !!

the error like alibaba/atlas#101

 Caused by: java.lang.RuntimeException: Failed to resolve attribute at index 0
    at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:603)
    at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:6423)
    at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:6592)
    at android.widget.FrameLayout$LayoutParams.<init>(FrameLayout.java:735)
    at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:679)
    at android.widget.FrameLayout.generateLayoutParams(FrameLayout.java:62)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:808)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
    at android.view.View.inflate(View.java:18435)
    at androidx.core.splashscreen.SplashScreenViewProvider$ViewImpl$_splashScreenView$2.invoke(SplashScreenViewProvider.kt:94)
    at androidx.core.splashscreen.SplashScreenViewProvider$ViewImpl$_splashScreenView$2.invoke(SplashScreenViewProvider.kt:93)
    at kotlin.SynchronizedLazyImpl.getValue(LazyJVM.kt:74)
    at androidx.core.splashscreen.SplashScreenViewProvider$ViewImpl.get_splashScreenView(SplashScreenViewProvider.kt:93)
    at androidx.core.splashscreen.SplashScreenViewProvider$ViewImpl.createSplashScreenView(SplashScreenViewProvider.kt:103)
    at androidx.core.splashscreen.SplashScreenViewProvider.<init>(SplashScreenViewProvider.kt:52)
    at androidx.core.splashscreen.SplashScreen$Impl.setOnExitAnimationListener(SplashScreen.kt:305)
    at androidx.core.splashscreen.SplashScreen.setOnExitAnimationListener(SplashScreen.kt:185)
    at com.pgtalk.feature.utils.SplashScreenController.customizeSplashScreenExit(SplashScreenController.kt:36)
    at com.pgtalk.feature.utils.SplashScreenController.customizeSplashScreen(SplashScreenController.kt:25)

@ellisonchan
Copy link
Owner

SplashScreenController + theme at Android 5 get crash !!

SplashScreen does not support before Android 6.

core-splashscreen provides backward compatibility for the new Splash Screen APIs.
This first alpha version contains all the new APIs backported down to API 23, with the exception of the icon background.

@ellisonchan
Copy link
Owner

Upgraded, so close it.

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