fbritop Active Member Licensed User Longtime User Jul 2, 2019 #1 Do we have to use AndroidX for AppCompat? I´m having this issue after updating the SDK B4X: Organizing libraries. (0.00s) (AndroidX SDK) Generating R file. (0.00s) Compiling generated Java code. Error B4A line: 796 Dim s As ACSwitch = Sender javac 1.8.0_91 src\cl\abreme\android\aacceso.java:420: error: package android.support.v7.widget does not exist _s.setObject((android.support.v7.widget.SwitchCompat)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA))); Using jdk1.8.0_91/Android-jar 28
Do we have to use AndroidX for AppCompat? I´m having this issue after updating the SDK B4X: Organizing libraries. (0.00s) (AndroidX SDK) Generating R file. (0.00s) Compiling generated Java code. Error B4A line: 796 Dim s As ACSwitch = Sender javac 1.8.0_91 src\cl\abreme\android\aacceso.java:420: error: package android.support.v7.widget does not exist _s.setObject((android.support.v7.widget.SwitchCompat)(anywheresoftware.b4a.keywords.Common.Sender(mostCurrent.activityBA))); Using jdk1.8.0_91/Android-jar 28
fbritop Active Member Licensed User Longtime User Jul 2, 2019 #2 Fixed with beta#3 @Erel Thanks Upvote 0
angel_ Well-Known Member Licensed User Longtime User Jul 5, 2019 #3 I have this error with the version 9.30 BETA #4 B4X: error: cannot access SwitchCompat _swh.setObject((androidx.appcompat.widget.SwitchCompat)(_v.getObject())); ^ class file for android.support.v7.widget.SwitchCompat not found B4X: #Extends: android.support.v7.app.AppCompatActivity Upvote 0
I have this error with the version 9.30 BETA #4 B4X: error: cannot access SwitchCompat _swh.setObject((androidx.appcompat.widget.SwitchCompat)(_v.getObject())); ^ class file for android.support.v7.widget.SwitchCompat not found B4X: #Extends: android.support.v7.app.AppCompatActivity
asales Expert Licensed User Longtime User Jul 5, 2019 #4 angel_ said: B4X: error: cannot access SwitchCompat Click to expand... Here: https://www.b4x.com/android/forum/t...annot-access-switchcompat.107298/#post-670999 Upvote 0
angel_ said: B4X: error: cannot access SwitchCompat Click to expand... Here: https://www.b4x.com/android/forum/t...annot-access-switchcompat.107298/#post-670999
angel_ Well-Known Member Licensed User Longtime User Jul 5, 2019 #5 The library "AppCompat" is in the folder: ...Basic4android\Additional Libraries Last edited: Jul 5, 2019 Upvote 0
asales Expert Licensed User Longtime User Jul 6, 2019 #6 See what @Erel says in this post: https://www.b4x.com/android/forum/threads/notificationbuilder-androidx-issues.107345/#post-671190 Upvote 0
See what @Erel says in this post: https://www.b4x.com/android/forum/threads/notificationbuilder-androidx-issues.107345/#post-671190
angel_ Well-Known Member Licensed User Longtime User Jul 6, 2019 #7 asales said: See what @Erel says in this post: https://www.b4x.com/android/forum/threads/notificationbuilder-androidx-issues.107345/#post-671190 Click to expand... Thank you, it works Upvote 0
asales said: See what @Erel says in this post: https://www.b4x.com/android/forum/threads/notificationbuilder-androidx-issues.107345/#post-671190 Click to expand... Thank you, it works