Bug? 8.8 problem with *.bal file

jatko

Member
Licensed User
The log:

*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
AutoRunTargetPermission.xml
images
pskc_schema.xsd
sounds
webkit
main_activity_create (java line: 354)
java.io.FileNotFoundException: test.bal
at android.content.res.AssetManager.openAsset(Native Method)
at android.content.res.AssetManager.open(AssetManager.java:350)
at android.content.res.AssetManager.open(AssetManager.java:324)
at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:207)
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:82)
at anywheresoftware.b4a.objects.ActivityWrapper.LoadLayout(ActivityWrapper.java:209)
at b4a.example.test.main._activity_create(main.java:354)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:196)
at b4a.example.test.main.afterFirstLayout(main.java:104)
at b4a.example.test.main.access$000(main.java:17)
at b4a.example.test.main$WaitForLayout.run(main.java:82)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:6939)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)
 

Erel

Administrator
Staff member
Licensed User
This might be related:

"Failed to create folder. Retry: 4"

Something is preventing the IDE from creating the folders during compilation.

The folders structure should be:

SS-2019-01-04_09.24.08.png


Worth making tests with antivirus disables and with the project saved in different places.
 

jatko

Member
Licensed User
I moved project to different location.
The folder structure is good. There is no longer worning in log file. But result is still the same.
 

Attachments

  • log.txt
    7.9 KB · Views: 166
  • ekran.jpg
    ekran.jpg
    80.1 KB · Views: 161

Star-Dust

Expert
Licensed User
I had a similar problem two days ago I uninstalled the app from the device, I restarted the IDE(and pc) several times and then it worked o_O
 

jatko

Member
Licensed User
There is no assets folder in apk (after I opened it with 7-zip). There is only META-INF and res folders.
 

jatko

Member
Licensed User
Thank You for your attention and spending time. Finally I solve every problems. The reason was SDK. I install everything once again and it's working.
 
Top