Android Question Google Play services missing files after install [SOLVED]

Pappsegull

Member
Licensed User
Longtime User
Hi,

After installing files is missing.

Missing path: ..\google_play_services\libproject\google-play-services_lib\res

Just have: ..\google_play_services\

Is there anyone who knows what might have happened?

/Jan

path.png
SDK Maneger.png
 

Pappsegull

Member
Licensed User
Longtime User
Thanks for the reply,

Does my B4A version have any significance when installing the SDK?

I have a previous version of B4A, but also downloaded a trial version 6.
Have now downloaded the latest version of the SDK and updated (see my screen dump)
But there will be no difference. Still no folder of files.

Do you have any other ideas?

/ Jan

SDK Maneger.png
 
Upvote 0

corwin42

Expert
Licensed User
Longtime User
After installing files is missing.

Missing path: ..\google_play_services\libproject\google-play-services_lib\res

Just have: ..\google_play_services\

Is there anyone who knows what might have happened?

Google changed the structure of the play services library and support libraries some time ago. There are no jars and resources anymore in the Google Play Services package anymore. You will have to use B4A6 which can handle the new Google Repository.
 
Upvote 0

Pappsegull

Member
Licensed User
Longtime User
Thanks for reply:)


If I uncomment:

''AdMob
'AddApplicationText(
'<meta-data android:name="com.google.android.gms.version"
' android:value="@Integer/google_play_services_version"/>
' <activity android:name="com.google.android.gms.ads.AdActivity"
' android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>
'
')
''End of AdMob


In my manifest file

And:

'#AdditionalRes: C:\Android SDK\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms

in Project Attributes. Coz i stil not have this directory...

Then I can compile, othervise not.

But I get error on this line
B4X:
mwAdInterstitial.Initialize("mwadi","ca-app-pub-8081096265852200/8781593570") '<---- ERROR



B4X:
#Region  Project Attributes
    #ApplicationLabel: InApp Example
    #VersionCode: 1
    #VersionName: 1.0
    'SupportedOrientations possible values: unspecified, landscape or portrait.
    #SupportedOrientations: portrait
    #CanInstallToExternalStorage: False
    '#AdditionalRes: C:\Android SDK\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms
#End Region

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

Sub Process_Globals
    Dim adtimer As Timer
    Dim manager As BillingManager3
    Private inappkey As String = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAiIEJEB/JNzDSn8YoWUE/dq7/q8HDUjUL5np0tSmk3pdauYO2rRMvDNxXO4e+FqgYhYjswBKdFeIlzLVF8+y2J49G85eaznP8ZYbt0vexH6lpk0iJxrfOxeGo8BY3IvUaCm0PXwdM9gos+XwZo14lr+pFSfpR/qd7PzXBqtdZ9NxvAyAnlLGrpzHuTApRCp8EIMc1kYZHd/pGtTcRyLuCGxFW0cbsrpKUIMHzDe1S/pp7bRqs3tMjagySWx0Kzic0ufxxa6v/XzbBDQPeSpyIcZLFxNuDBrZElu83cC39JZz1kKiGSfcMmsz/eegJo/AdII8CVkJjY5ov6CG64i+cPQIDAQAB"
End Sub

Sub Globals
    Dim b As Button
    Dim mwAdInterstitial As mwAdmobInterstitial 'interstitial ad (admob)
End Sub

Sub Activity_Create(FirstTime As Boolean)
    Activity.Color = Colors.White
  
    adtimer.Initialize("adtimer",25000) '25sec to show ad
  
    b.Initialize("Button")
    b.Text = "No Ads"
    b.Color = Colors.DarkGray
    b.TextColor = Colors.White

    Activity.AddView(b,20dip,20dip,150dip,50dip)
  
    mwAdInterstitial.Initialize("mwadi","ca-app-pub-8081096265852200/8781593570") '<---- ERROR HERE
    mwAdInterstitial.LoadAd
  
    If FirstTime Then
        manager.Initialize("manager", inappkey)
        manager.DebugLogging = True  
    Else
        If File.Exists(File.DirInternal,"ad.txt") = False Then 'manager will be called only on firsttime true, if firstime is false we will check if ad.txt exists what means that the app was purchased. now we should hide the "buy me" button and disable ads until we will be able to check again if the "no_ads" item was purchased!
            'hide purchase button
            'disable ads
        End If      
    End If
  
    If File.Exists(File.DirInternal,"ad.txt") Then adtimer.Enabled = False 'change default ad support to off
End Sub



Installing file.
PackageAdded: package:inApp.example
** Service (starter) Create **
** Service (starter) Start **
** Activity (main) Create, isFirst = true **
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/ads/InterstitialAd;
at mobi.mindware.admob.interstitial.AdmobInterstitialsAds.Initialize(AdmobInterstitialsAds.java:48)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.shell.Shell.runVoidMethod(Shell.java:748)
at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:343)
at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:247)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:134)
at inApp.example.main.afterFirstLayout(main.java:102)
at inApp.example.main.access$000(main.java:17)
at inApp.example.main$WaitForLayout.run(main.java:80)
at android.os.Handler.handleCallback(Handler.java:815)
at android.os.Handler.dispatchMessage(Handler.java:104)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5576)
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:955)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750)
Caused by: java.lang.ClassNotFoundException: Didn't find class "com.google.android.gms.ads.InterstitialAd" on path: DexPathList[[zip file "/data/app/inApp.example-1/base.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
... 20 more
Suppressed: java.lang.ClassNotFoundException: com.google.android.gms.ads.InterstitialAd
at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 21 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
** Activity (main) Resume **
An error occurred:
(Line: 40) mwAdInterstitial.LoadAd
java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean


Any more ideas?

/Jan
 
Upvote 0

Pappsegull

Member
Licensed User
Longtime User
Thanks,

I just run this little demo project in a trial of B4A v6 now. When I get the error above.

So you mean that if I just buy a new license, the problem will be gone?

/Jan
 
Upvote 0

Pappsegull

Member
Licensed User
Longtime User
Hi again,

First I did try to to download:
https://dl-ssl.google.com/android/repository/google_play_services_6171000_r21.zip
So now I have the files in the folder:
C:\Android\extras\google\google_play_services\libproject\google-play-services_lib\res

Still same error did occur as i posted before...

Then I bought a B4A v6 license and updated to JDK 8u101
I now I can compile without error both with and without uncomment:

B4X:
#AdditionalRes: C:\Android\extras\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms

AddApplicationText(
<meta-data android:name="com.google.android.gms.version"
  android:value="@integer/google_play_services_version"/>
<activity android:name="com.google.android.gms.ads.AdActivity"
  android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/>

)

But I still get the same error when i debug as before.
The program crashes before it get down to the error handling

Anyone?

/Jan
 
Last edited:
Upvote 0

Pappsegull

Member
Licensed User
Longtime User
When I work in the designer it use to come up error message from
Microsoft .Net Framework

sd.png


I did not notice this before I updated to B4A v6
If there can be any clue?

The text under the information button as spoiler, Swedish Win 10.

Information om att aktivera JIT-felsökning i stället för den
här dialogrutan finns i slutet av det här meddelandet.

************** Undantagstext **************
System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
vid c2.a(Stream A_0, IDictionary`2 A_1, Object[] A_2)
vid c2.a(Stream A_0, IDictionary`2 A_1, ct A_2, String A_3)
vid Dbasic.Designer.MetaControl.ap(Stream A_0, IDictionary`2 A_1)
vid en.b(MemoryStream A_0, SortedDictionary`2 A_1, List`1 A_2)
vid en.b(MemoryStream A_0, SortedDictionary`2 A_1, List`1 A_2)
vid en.b(MemoryStream A_0, Boolean A_1)
vid en.u()
vid fc.b(Object A_0, EventArgs A_1)
vid System.Windows.Forms.Timer.OnTick(EventArgs e)
vid System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Inlästa sammansättningar **************
mscorlib
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
B4A
Sammansättningsversion: 6.0.0.0
Win32-version: 6.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/B4A.exe
----------------------------------------
PresentationFramework
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1080.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
----------------------------------------
WindowsBase
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System.Core
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1081.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
PresentationCore
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
----------------------------------------
System.Xaml
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1080.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
WindowsBase.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase.resources/v4.0_4.0.0.0_sv_31bf3856ad364e35/WindowsBase.resources.dll
----------------------------------------
Logic
Sammansättningsversion: 1.0.0.0
Win32-version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/Logic.DLL
----------------------------------------
B4X.Text
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/B4X.Text.DLL
----------------------------------------
System.Windows.Forms
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1078.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
UIShared
Sammansättningsversion: 1.0.0.0
Win32-version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/UIShared.DLL
----------------------------------------
PresentationCore.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationCore.resources/v4.0_4.0.0.0_sv_31bf3856ad364e35/PresentationCore.resources.dll
----------------------------------------
ActiproSoftware.SyntaxEditor.Wpf
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ActiproSoftware.SyntaxEditor.Wpf.DLL
----------------------------------------
ActiproSoftware.Shared.Wpf
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ActiproSoftware.Shared.Wpf.DLL
----------------------------------------
PresentationFramework.Aero2
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero2/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero2.dll
----------------------------------------
System.Xml
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
ActiproSoftware.Docking.Wpf
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ActiproSoftware.Docking.Wpf.DLL
----------------------------------------
UIControls
Sammansättningsversion: 1.0.0.0
Win32-version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/UIControls.DLL
----------------------------------------
PresentationFramework.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.resources/v4.0_4.0.0.0_sv_31bf3856ad364e35/PresentationFramework.resources.dll
----------------------------------------
ICSharpCode.TreeView
Sammansättningsversion: 0.0.0.0
Win32-version: 0.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ICSharpCode.TreeView.DLL
----------------------------------------
PresentationFramework-SystemXml
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
----------------------------------------
UIAutomationProvider
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
UIAutomationTypes
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
----------------------------------------
System.Deployment
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1078.0 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Deployment.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Deployment.resources/v4.0_4.0.0.0_sv_b03f5f7f11d50a3a/System.Deployment.resources.dll
----------------------------------------
ActiproSoftware.Themes.Office.Wpf
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ActiproSoftware.Themes.Office.Wpf.DLL
----------------------------------------
ActiproSoftware.Themes.Metro.Wpf
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ActiproSoftware.Themes.Metro.Wpf.DLL
----------------------------------------
Microsoft.GeneratedCode
Sammansättningsversion: 1.0.0.0
Win32-version: 4.6.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Xml.Linq
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
PresentationFramework-SystemXmlLinq
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXmlLinq/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXmlLinq.dll
----------------------------------------
ICSharpCode.SharpZipLib
Sammansättningsversion: 0.86.0.518
Win32-version: 0.86.0.518
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ICSharpCode.SharpZipLib.DLL
----------------------------------------
ActiproSoftware.PropertyGrid.Wpf
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ActiproSoftware.PropertyGrid.Wpf.DLL
----------------------------------------
GongSolutions.Wpf.DragDrop
Sammansättningsversion: 1.0.0.0
Win32-version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/GongSolutions.Wpf.DragDrop.DLL
----------------------------------------
ActiproSoftware.Navigation.Wpf
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ActiproSoftware.Navigation.Wpf.DLL
----------------------------------------
ActiproSoftware.Editors.Interop.PropertyGrid.Wpf
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ActiproSoftware.Editors.Interop.PropertyGrid.Wpf.DLL
----------------------------------------
ActiproSoftware.Editors.Wpf
Sammansättningsversion: 15.1.620.0
Win32-version: 15.1.620.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/ActiproSoftware.Editors.Wpf.DLL
----------------------------------------
Microsoft.GeneratedCode
Sammansättningsversion: 1.0.0.0
Win32-version: 4.6.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Sammansättningsversion: 1.0.0.0
Win32-version: 4.6.1064.2 built by: NETFXREL3STAGE
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Mantin.Controls.Wpf.Notification
Sammansättningsversion: 2.7.1.0
Win32-version: 2.7.1.0
CodeBase: file:///C:/Program%20Files%20(x86)/Anywhere%20Software/Basic4android/Mantin.Controls.Wpf.Notification.DLL
----------------------------------------
PresentationFramework-SystemDrawing
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemDrawing/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemDrawing.dll
----------------------------------------
mscorlib.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_sv_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
System.Windows.Forms.resources
Sammansättningsversion: 4.0.0.0
Win32-version: 4.6.1038.0 built by: NETFXREL2
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** JIT-felsökning **************
För att aktivera JIT-felsökning (just-in-time ) måste .config-filen för det här
tillämpningsprogrammet eller datorn (machine.config) ha
jitDebugging-värdet angivet i avsnittet system.windows.forms.
Tillämpningsprogrammet måste också vara kompilerat med felsökning
aktiverat.

Till exempel:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

När JIT-felsökning är aktiverad kommer alla undantag som inte hanteras
att skickas till JIT-felsökaren som är registrerad på datorn
snarare än att hanteras av den här dialogrutan.
 
Upvote 0

Pappsegull

Member
Licensed User
Longtime User
Hello and thanks for the reply,

I have not seen the error in .NET last days.
But if it arises and becomes frequent, I will start a new thread.
I just want to give as much information I can to get started with B4A again.
Thought it could possibly be a clue.;)

I do not seem to have luck on my side:(

I run your little demo code in your first post, but it does not work now either.
In release mode it is possible to compile. But the program crashes at startup.

In debug mode i get this error, when try to compile.

upload_2016-8-28_21-58-43.png



B4A version: 6.00
Parsing code. (0.02s)
Compiling code. (0.40s)
Compiling layouts code. (0.00s)
Organizing libraries. (0.00s)
Generating R file. (4.64s)
Compiling debugger engine code. (5.01s)
Compiling generated Java code. (4.51s)
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL ERROR:
java.lang.OutOfMemoryError: GC overhead limit exceeded
at com.android.dx.cf.code.ConcreteMethod.makeSourcePosistion(ConcreteMethod.java:254)
at com.android.dx.cf.code.RopperMachine.run(RopperMachine.java:293)
at com.android.dx.cf.code.Simulator$SimVisitor.visitLocal(Simulator.java:612)
at com.android.dx.cf.code.BytecodeArray.parseInstruction(BytecodeArray.java:367)
at com.android.dx.cf.code.Simulator.simulate(Simulator.java:94)
at com.android.dx.cf.code.Ropper.processBlock(Ropper.java:782)
at com.android.dx.cf.code.Ropper.doit(Ropper.java:737)
at com.android.dx.cf.code.Ropper.convert(Ropper.java:346)
at com.android.dx.dex.cf.CfTranslator.processMethods(CfTranslator.java:282)
at com.android.dx.dex.cf.CfTranslator.translate0(CfTranslator.java:139)
at com.android.dx.dex.cf.CfTranslator.translate(CfTranslator.java:94)
at com.android.dx.command.dexer.Main.processClass(Main.java:613)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:570)
at com.android.dx.command.dexer.Main.access$2(Main.java:546)
at com.android.dx.command.dexer.Main$2.processFileBytes(Main.java:514)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:284)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:166)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:144)
at com.android.dx.command.dexer.Main.processOne(Main.java:537)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:449)
at com.android.dx.command.dexer.Main.runMonoDex(Main.java:236)
at com.android.dx.command.dexer.Main.run(Main.java:206)
at com.android.dx.command.dexer.Main.main(Main.java:179)
at com.android.dx.command.Main.main(Main.java:103)


PS

I noticed that it takes much longer to compile with FirebaseAdMob - Admob.
Is it something that only happens on my computer too, or is it for everybody?


Any more ideas anyone???


/Jan
 
Upvote 0
Top