Android Question Installation problem

Discussion in 'Android Questions' started by ColUtd, Jun 27, 2015.

  1. ColUtd

    ColUtd New Member Licensed User

    I have installed B4a (Trial), Java and Android SDK's and .Net framework as required. Attempting to compile the default program (Hello World) fails due to B4a not being able to find iHUD.xml. Is this an additional required download or should it be part of the installation?
     
  2. DonManfred

    DonManfred Expert Licensed User

    iHud sounds like an B4I library. Not an B4A one...

    You are trying to compile WHICH example exactly? Link to the sample please
     
    Erel and Peter Simpson like this.
  3. ColUtd

    ColUtd New Member Licensed User

    Ooops! I confused the issue by inserting 'Hello World' into the question.

    It's not actually an example, just the default outline that one get when one selects New from the file menu. i.e

    #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

    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.

    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("Layout1")
    Msgbox("Welcome to B4A!", "")
    End Sub

    Sub Activity_Resume

    End Sub

    Sub Activity_Pause (UserClosed As Boolean)

    End Sub


    I'm assuming it should compile to show a Message Box without any other code?

    The error message is:

    Missing jar file for C:\Program Files(x86)\Anywhere Software\Basic4Android\Additional Libraries\iHud.xml

    The code line

    Sub Activity_Create(FirstTime As Boolean)


    is highlighted in red.

    On examining the directory structure I have no Additional Libraries folder. I have reinstalled B4a a couple of times with the same results.

    Following on from your initial comment I have not installed B4i although I do have B4j (which works great). Out of interest I checked the directories of B4j without finding any reference to iHud.xml.
     
  4. fixit30

    fixit30 Active Member Licensed User

    If you delete the file C:\ProgramFiles(x86)\Anywhere Sof tware\Basic4Android\Additional Libraries\iHud.xml

    It should solve the problem.
     
    DonManfred likes this.
Loading...