Android Question Error in first time compilation with ver 3.82

Discussion in 'Android Questions' started by rafaelcamara, Jan 23, 2015.

  1. rafaelcamara

    rafaelcamara Member Licensed User

    Please, I updated the B4A to the 3.82 version and I can not run my project is returning this error, can someone help me
    Thank U

    Parsing code. 1.08
    Compiling code. 2.48
    Compiling layouts code. 0.57
    Generating R file. 0.54
    Compiling debugger engine code. 5.20
    Compiling generated Java code. Error
    B4A line: 845
    conect.xData = DateTime.Date(DateTime.Now)
    javac 1.6.0_24
    src\Sag\Mobile\main.java:814: mostCurrent has private access in Sag.Mobile.conect
    mostCurrent._conect.mostCurrent._xdata = anywheresoftware.b4a.keywords.Common.DateTime.Date(anywheresoftware.b4a.keywords.Common.DateTime.getNow());
     
  2. DonManfred

    DonManfred Expert Licensed User

    xData in conect seems to be declared as private. That means; only conect methods can access this variable.
     
  3. rafaelcamara

    rafaelcamara Member Licensed User

    but I declared as dim xdata the string in conect which is a module in the previous version worked, I did not now give this error. Can be Windows 8? I moved recentendemente? Or the recent changes to the B4A changed some way to declare global variables
     
  4. DonManfred

    DonManfred Expert Licensed User

    try change dim xxx to Public xxx
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    Can you upload your project (File - Export as zip)?
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice