Error when signing?

susu

Well-Known Member
Licensed User
Longtime User
Hi,

I just test some Phone functions (Vibrate, Send SMS, Call...) but got error when compile. It error when signing package file (as pic below). How to solve it?

Thank you so much.
 

Attachments

  • error.jpg
    error.jpg
    43.7 KB · Views: 221

susu

Well-Known Member
Licensed User
Longtime User
1. I included the Phone library.

2. My Android SDK installed packages:
Android 2.2 API 8, revision 2.
Android 2.1-update1 API 7, revision 2.
Android 2.0 API 5, revision 1.
Android 1.6 API 4, revision 3.
My Emulator using Android 2.1-update1

3. No, the path to my project doesn't include non ascii character.

4. Here the code (it compiled ok but can't sign)

'Activity module
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.
Dim Phone1 As Phone
Dim Phone2 As PhoneSms
Dim Phone3 As PhoneCalls
Dim Button1 As Button
Dim Button2 As Button
Dim PhoneNumber As EditText
Dim Message As EditText
End Sub

Sub Activity_Create(FirstTime As Boolean)

End Sub

Sub Activity_Resume

End Sub

Sub Activity_Pause (UserClosed As Boolean)

End Sub

Sub Button2_Click
Phone3.Call(PhoneNumber.Text)
End Sub
Sub Button1_Click
Phone2.Send(PhoneNumber.Text , Message.Text)
End Sub
Sub Button3_Click
Phone1.Vibrate(2000)
End Sub
 
Upvote 0

susu

Well-Known Member
Licensed User
Longtime User
Yes, the path is right.
Yes, other programs work correctly.
 
Upvote 0

susu

Well-Known Member
Licensed User
Longtime User
Thank you so much Erel :D
 
Upvote 0

UtahWJR

Member
Licensed User
Longtime User
I am getting the same error when compiling:

Signing package file (debug key). Error

Get the same error message with Debug off.

Code is the sample Hello World. Also happens if I use the code supplied with the Beginners Guide.

This is in the trial version.
 
Upvote 0

UtahWJR

Member
Licensed User
Longtime User
My issue turned out to be location of the source code - had it in a folder on the desktop. Moved to a sub folder and it compiled fine.
 
Upvote 0
Top