Hello everyone.
I've been using Net library to get emails from an account with POP3. But, since I updated to v1.35 I get this error.
main_process_globals (java line: 307)
java.lang.NoClassDefFoundError: anywheresoftware.b4a.net.POPWrapper
at b4a.example.main._process_globals(main.java:307)
at b4a.example.main.initializeProcessGlobals(main.java:258)
at b4a.example.main.afterFirstLayout(main.java:85)
at b4a.example.main.access$100(main.java:16)
at b4a.example.main$WaitForLayout.run(main.java:74)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
I checked this behaviour on a sample code and always I get the same result:
Sample code:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
Can you help me?
Thanks in advance.
			
			I've been using Net library to get emails from an account with POP3. But, since I updated to v1.35 I get this error.
main_process_globals (java line: 307)
java.lang.NoClassDefFoundError: anywheresoftware.b4a.net.POPWrapper
at b4a.example.main._process_globals(main.java:307)
at b4a.example.main.initializeProcessGlobals(main.java:258)
at b4a.example.main.afterFirstLayout(main.java:85)
at b4a.example.main.access$100(main.java:16)
at b4a.example.main$WaitForLayout.run(main.java:74)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3687)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:625)
at dalvik.system.NativeStart.main(Native Method)
I checked this behaviour on a sample code and always I get the same result:
Sample code:
			
				B4X:
			
		
		
		Sub Activity_Resume
  pop.Initialize("pop.gmail.com", 995, "[email protected]", "passwowrd", "POP")
  pop.UseSSL = True 'Gmail requires SSL.
  pop.Status
  pop.ListMessages    
End Sub
Sub POP_ListCompleted (Success As Boolean, Messages As Map)
  Log("TR_PLC")
  Log("List: " & Success)
  Log("Size: " & Messages.Size)
  If Success Then
      For i = 0 To Messages.Size -1
        Log(Messages.GetKeyAt(i) & "--->" & Messages.GetValueAt(i))
      Next
  Else  
    Log(LastException.Message)
  End If
  pop.Close
End SubCan you help me?
Thanks in advance.
			
				Last edited: 
			
		
	
								
								
									
	
								
							
							 
				 
 
		 
			 
 
		 
 
		