Skip to content

error: Resource entry Animation.Design.BottomSheetDialog already has bag item android:windowNoTitle. #55

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

Open
ida opened this issue May 18, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@ida
Copy link
Contributor

ida commented May 18, 2021

When building an app (androidjs build) which was initialized with the static-template, got this error:

--release= false
copying assets ...
updating app name...
Setting app version ...
Version Code: 1000032
Version Name: 1.0.0
updating theme ...
Using SDK: 1.0.0
Building Apk ...
non zero exit code: failed to build apk
W: /home/user/.androidjs/cache/sdk-static/res/values/styles.xml:13: error: Resource entry Animation.Design.BottomSheetDialog already has bag item android:windowNoTitle.
W: /home/user/.androidjs/cache/sdk-static/res/values/styles.xml:12: Originally defined here.
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_3474084176971001494.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 30, --version-code, 1000032, --version-name, 1.0.0, --no-version-vectors, -F, /tmp/APKTOOL17136024997602195816.tmp, -e, /tmp/APKTOOL2630776605754782716.tmp, -0, arsc, -I, /home/user/.androidjs/cache/1.apk, -S, /home/user/.androidjs/cache/sdk-static/res, -M, /home/user/.androidjs/cache/sdk-static/AndroidManifest.xml]

Looking into the referenced file "styles.xml" and line 13 showed a doubled entry, so I removed one, but when building the app again, the file was overwritten.

Could solve this by removing the static-files and its zipped archive: rm -rf ~/.androidjs/cache/sdk-static*

@DeveshPankaj DeveshPankaj added the bug Something isn't working label Jun 2, 2021
@dhvitish
Copy link

same error how to fix it?

@mominiqbal1234
Copy link

mominiqbal1234 commented May 7, 2022

yes i have same error
but i am user this command

androidjs build -f

@mominiqbal1234
Copy link

When building an app (androidjs build) which was initialized with the static-template, got this error:

--release= false
copying assets ...
updating app name...
Setting app version ...
Version Code: 1000032
Version Name: 1.0.0
updating theme ...
Using SDK: 1.0.0
Building Apk ...
non zero exit code: failed to build apk
W: /home/user/.androidjs/cache/sdk-static/res/values/styles.xml:13: error: Resource entry Animation.Design.BottomSheetDialog already has bag item android:windowNoTitle.
W: /home/user/.androidjs/cache/sdk-static/res/values/styles.xml:12: Originally defined here.
W:
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/tmp/brut_util_Jar_3474084176971001494.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 30, --version-code, 1000032, --version-name, 1.0.0, --no-version-vectors, -F, /tmp/APKTOOL17136024997602195816.tmp, -e, /tmp/APKTOOL2630776605754782716.tmp, -0, arsc, -I, /home/user/.androidjs/cache/1.apk, -S, /home/user/.androidjs/cache/sdk-static/res, -M, /home/user/.androidjs/cache/sdk-static/AndroidManifest.xml]

Looking into the referenced file "styles.xml" and line 13 showed a doubled entry, so I removed one, but when building the app again, the file was overwritten.

Could solve this by removing the static-files and its zipped archive: rm -rf ~/.androidjs/cache/sdk-static*

yes i have same error
but i am user this command

androidjs build -f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants