Android Question Cannot compile projects using ACToolBarLight and ACActionBar

fabton1963

Member
Licensed User
Longtime User
After upgrading B4A cannot compile many projects that use ACToolBarLight and ACActionBar I get the error Maven artifact non found: androidx.emoji2/emoji2-emojipicker-samples

sample:
#Region  Project Attributes
    #ApplicationLabel: B4A Example
    #VersionCode: 1
    #VersionName:
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: unspecified
    #CanInstallToExternalStorage: False
#End Region

#Region  Activity Attributes
    #FullScreen: False
    #IncludeTitle: True
#End Region
    #Extends: android.support.v7.app.AppCompatActivity
Sub Process_Globals

End Sub

Sub Globals
    Private ACToolBarLight1 As ACToolBarLight
    Private ToolbarHelper As ACActionBar
End Sub

Sub Activity_Create(FirstTime As Boolean)
    Activity.LoadLayout("1")
    Dim bd As BitmapDrawable
    bd.Initialize(LoadBitmap(File.DirAssets, "smiley.png"))
    ACToolBarLight1.NavigationIconDrawable = bd
    ToolbarHelper.Initialize
    ToolbarHelper.ShowUpIndicator = False 'set to true to show the up arrow
    ACToolBarLight1.InitMenuListener
End Sub

Sub ACToolBarLight1_NavigationItemClick
    Log("click1")
End Sub



Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

ERROR
1685032958632.png



I uninstall old B4A remove customlib reinstall B4A using sdk manager I add all emoji related obects but I can't find -samples

1685032746616.png


What I'm missing?
 

fabton1963

Member
Licensed User
Longtime User
In my old pc I already followed all istructions in the post you suggest, today I reinstall all in a new pc and this error does not appear anymore, I'll post in a new tread new errors.
 
Upvote 0
Top