Asked  7 Months ago    Answers:  5   Viewed   35 times

I am using Eclipse Android plugins to build a project, but I am getting this error in the console window:

[2010-02-03 10:31:14 - androidVNC]Error generating final archive:
Debug certificate expired on 1/30/10 2:35 PM!

How do I fix it?

 Answers

60

Delete your debug certificate under ~/.android/debug.keystore on Linux and Mac OS X; the directory is something like %USERPROFILE%/.androidon Windows.

The Eclipse plugin should then generate a new certificate when you next try to build a debug package. You may need to clean and then build to generate the certificate.

Tuesday, June 1, 2021
 
Rudie
answered 7 Months ago
13

You might be missing an intermediate certificate in your cert file. If you have already visited another website which has the same certificate seller, the intermediate certificate is remembered in your browser. This might not - or even better - will not be the case with every visitor to your website. To solve a missing intermediate certificate in the SSL connection, you will need to add the intermediate certificate to your own certificate file.

GoDaddy has some info on the intermediate certificates (but the best source is always your certificate provider): http://support.godaddy.com/help/article/868/what-is-an-intermediate-certificate

I once had this issue of an intermediate cert (with Commodo too) and had to combine my own cert file with the intermediate CA's to work. Once done no errors occurred anymore.

Installation instructions per webserver by Godaddy: http://support.godaddy.com/help/article/5346/installing-an-ssl-server-instructions?locale=en

And here is a list of the most common installation guides by Commodo themselves: https://support.comodo.com/index.php?/Default/Knowledgebase/Article/View/1145/0/how-do-i-make-my-own-bundle-file-from-crt-files

Depending on what webserver you are using, you'll need to specify all certificates (domain certificate, intermediate and root) or combine them into one (eg for Nginx) in the order:

  1. domain certificate
  2. intermediate certificate
  3. root certificate

An easy way of doing this in an SSH terminal is by typing:

cat domainfile intermediatefile rootfile > targetfile

Certificate test tool

If you encounter further problems or are unsure whether the certificate is correct, please try an online tool to verify your SSL certificate. For instance: networking4all.com/en/ssl+certificates/quickscan

SNI support for android 2.2 and lower

Please note android 2.2 (and probably older) do not support SNI, which allows multiple SSL certificates for different hostnames to work without issues on one single IP address. Thanks to @technyquist for providing that information. Please review this SO question about SNI for more information on this issue.

Saturday, July 31, 2021
 
jon333
answered 5 Months ago
10

I figured the solution to this problem. Follow the following steps to solve this
1. Add following lines inside the task in build.xml file.

<jvmarg value="-Xdebug" />
<jvmarg value="-Xnoagent"/> 
<jvmarg value="-Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=5432" />
  1. Add remote java application debug configuration, i.e., specify project name, give host as "localhost", and port same as in step 1, 5432 in our case
  2. Debug the build.xml file first
  3. Attach the testng process, by start debugging the remote java application debug configuration set in step 2.
Sunday, August 29, 2021
 
Robottinosino
answered 4 Months ago
79

Check out this link and you will love it Eclipse-Fonts First you have to open eclipse, in help Menu, find "Install new Softwares" paste the below link in "Works with" text Box

http://eclipse-fonts.googlecode.com/svn/trunk/FontsUpdate/

and press Enter, in the below box you will see "Eclipse-fonts", now press the next buttons..... and you have done it. enter image description here After installation is finished, you will see A icon in toolbox and you can zoom in using Ctrl+ and Zoom out using Ctrl- enter image description here

I think this will help you.

Monday, November 8, 2021
 
Alexey Ferapontov
answered 1 Month ago
75

Eclipse CDT is using gdb to step through the code. You need to run "skip" or "skip file X" in your gdb console in Eclipse. "skip" was added to gdb in v7.4.

Friday, November 12, 2021
 
Asher
answered 4 Weeks ago
Only authorized users can answer the question. Please sign in first, or register a free account.
Not the answer you're looking for? Browse other questions tagged :  
Share