Android Question [solved]linking resources Error ... resource xx not found. ... attribute xxx not found

Maodge

Member
Licensed User
Hello everybody,
I am trying to fix this error without success, somebody could help me please.
B4X:
B4A Version: 10.70
Parsing code.    (0.02s)
    Java Version: 11
Building folders structure.    (0.07s)
Compiling code.    (0.07s)
Compiling layouts code.    (0.01s)
Organizing libraries.    (0.00s)
    (AndroidX SDK)
Compiling resources    (0.27s)
Linking resources    Error
../res\layout\content_main.xml:2: error: resource string/appbar_scrolling_view_behavior (aka com.qq.e.union.demo:string/appbar_scrolling_view_behavior) not found.
../res\layout\content_main.xml:11: error: attribute layout_constraintEnd_toEndOf (aka com.qq.e.union.demo:layout_constraintEnd_toEndOf) not found.
../res\layout\content_main.xml:11: error: attribute layout_constraintStart_toStartOf (aka com.qq.e.union.demo:layout_constraintStart_toStartOf) not found.
../res\layout\content_main.xml:11: error: attribute layout_constraintTop_toTopOf (aka com.qq.e.union.demo:layout_constraintTop_toTopOf) not found.
../res\layout\content_main.xml:35: error: attribute layout_constraintBottom_toBottomOf (aka com.qq.e.union.demo:layout_constraintBottom_toBottomOf) not found.
../res\layout\content_main.xml:35: error: attribute layout_constraintEnd_toEndOf (aka com.qq.e.union.demo:layout_constraintEnd_toEndOf) not found.
../res\layout\content_main.xml:53: error: attribute layout_constraintEnd_toStartOf (aka com.qq.e.union.demo:layout_constraintEnd_toStartOf) not found.
../res\layout\content_main.xml:53: error: attribute layout_constraintStart_toStartOf (aka com.qq.e.union.demo:layout_constraintStart_toStartOf) not found.
../res\layout\content_main.xml:53: error: attribute layout_constraintTop_toBottomOf (aka com.qq.e.union.demo:layout_constraintTop_toBottomOf) not found.
../res\layout\content_main.xml:65: error: attribute layout_constraintBaseline_toBaselineOf (aka com.qq.e.union.demo:layout_constraintBaseline_toBaselineOf) not found.
../res\layout\content_main.xml:65: error: attribute layout_constraintEnd_toEndOf (aka com.qq.e.union.demo:layout_constraintEnd_toEndOf) not found.
../res\layout\content_main.xml:65: error: attribute layout_constraintTop_toBottomOf (aka com.qq.e.union.demo:layout_constraintTop_toBottomOf) not found.
../res\layout\content_main.xml:77: error: attribute layout_constraintBottom_toBottomOf (aka com.qq.e.union.demo:layout_constraintBottom_toBottomOf) not found.
error: failed linking file resources.

project is tencent ads demo with splash ad.
I try to add download confirm dialog function. AdditionalRes resource file is copy from tencent demo.
B4X:
#AdditionalJar:GDTSDK.unionNormal.4.333.1203.aar
#AdditionalRes: ../res
#Extends: android.support.v7.app.AppCompatActivity
#AdditionalJar: com.android.support:appcompat-v7
 

Attachments

  • QQAD-Download-Confirm1.zip
    307.5 KB · Views: 30
  • DownloadApkConfirmDialogWebView.java
    6.4 KB · Views: 35
  • DownloadConfirmHelper.java
    4.4 KB · Views: 43
Top