Android Question AppCompat and SDK update...

Johan Schoeman

Expert
Licensed User
Longtime User
.....and now I have NOTHING working that makes use of Appcompat

B4X:
B4A version: 6.00
Parsing code.    (0.00s)
Compiling code.    (0.32s)
Compiling layouts code.    (0.07s)
Organizing libraries.    (4.49s)
Generating R file.    Error
invalid resource directory name: C:\Users\----------2\Documents\Basic 4 Android\COMPLETED\CameraFilter\CameraFilter-master\CameraFilter-master\b4aCameraFilter\Objects\bin\extra\res1\res/values-b+sr+Latn

This app worked 100% yesterday. I don't even know where to start to fix this rubbish....Where does this comes from values-b+sr+Latn? It is nowhere in any of the resources of my app?
 

DonManfred

Expert
Licensed User
Longtime User
Without seeing your code it is hard to give advices/answers
 
Upvote 0

Johan Schoeman

Expert
Licensed User
Longtime User
Without seeing your code it is hard to give advices/answers
This is it:
B4X:
#Region  Project Attributes
    #ApplicationLabel: CameraFilter
    #VersionCode: 1
    #VersionName:
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region

#AdditionalRes: ..\resource
#AdditionalRes: ..\CameraFilter_res

#Extends: android.support.v7.app.AppCompatActivity

#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: True
#End Region

Sub Process_Globals
    'These global variables will be declared once when the application starts.
    'These variables can be accessed from all modules.
   
End Sub

Sub Globals
    'These global variables will be redeclared each time the activity is created.
    'These variables can only be accessed from this module.

    Private Button1 As Button
    Private Label1 As Label
    Dim camerafilter As CameraFilter
   
End Sub

Sub Activity_Create(FirstTime As Boolean)
    'Do not forget to load the layout file created with the visual designer. For example:
   
    Activity.LoadLayout("main")
    camerafilter.Initialize("camerafilter")
    Label1.Visible = True
    Label1.Text = "Wrapped by Johan Schoeman"
   
    camerafilter.FolderName = "CAMERAFILTER"
    camerafilter.PictureName = "filter"           'this will automatically be appended with the name of the filter, the date, and the time (store as a png file)

End Sub

Sub Activity_Resume
   
   
End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

Sub Button1_Click
   
  camerafilter.StartCameraFilter
 
End Sub
 
Upvote 0

Johan Schoeman

Expert
Licensed User
Longtime User
Upvote 0
Top