4

Here is the error that I am facing while using chaquopy with android studio

Whenever I try to build apk, then it opens values.xml and points to a line

Error is on line 105 :

<declare-styleable name="ColorStateListItem"> <!-- Base color for this state. --> <attr name="android:color"/> <!-- Alpha multiplier applied to the base color. --> <attr format="float" name="alpha"/> <attr name="android:alpha"/> <!-- Perceptual luminance applied to the base color. From 0 to 100. --> <attr format="float" name="lStar"/> <attr name="android:lStar"/> </declare-styleable> 

I am not able to post full values.xml file because of words limit. comment down if you need full file.

Please help me out.

8
  • I think the message indicates that the error is between lines 105 and 114. Can you edit your question to include those 10 lines? Commented Dec 1, 2021 at 16:11
  • Ok thx for your response I added those 10 lines. You may check it And please give me any solution for this Commented Dec 2, 2021 at 4:02
  • I faced this problem before when try to set sdkversion:31. The reason is about dependencies version(android.test.ext? I don't remember exactly). I recommand you try version change of dependencies in build.gradle . Commented Dec 2, 2021 at 4:50
  • Does this answer your question? Message "error: resource android:attr/lStar not found" Commented Dec 2, 2021 at 11:16
  • Or this: Resource linking fails on lStar Commented Dec 2, 2021 at 11:19

1 Answer 1

2

uninstall your old version of android studio

install the latest version from android studio site

https://developer.android.com/studio

it worked for me :-)

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.