Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9058877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T14:49:58+00:00 2026-06-16T14:49:58+00:00

I just started using proguard, and used a file found on this site as

  • 0

I just started using proguard, and used a file found on this site as my proguard.cfg file:

-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/,!class/merging/

-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService

-keepclasseswithmembernames class * {
native ; }

-keepclasseswithmembers class * {
public (android.content.Context, android.util.AttributeSet); }

-keepclasseswithmembers class * {
public (android.content.Context, android.util.AttributeSet, int); }

-keepclassmembers class * extends android.app.Activity { public void *(android.view.View); }

-keepclassmembers enum * {
public static *[] values();
public static *
valueOf(java.lang.String); }

-keep class * implements android.os.Parcelable { public static final android.os.Parcelable$Creator *; }

when I get to the final step of a signed apk export using eclipse, I get the error:

Proguard returned with error code 1. See console

The console states this:

Proguard returned with error code 1. See console [2012-12-27 14:23:16
– FlashActivity] java.io.FileNotFoundException: C:\Users\Liam\workspace\FlashActivity\bin\proguard.txt (The system
cannot find the file specified) [2012-12-27 14:23:16 – FlashActivity]
at java.io.FileInputStream.open(Native Method) [2012-12-27 14:23:16 –
FlashActivity] at java.io.FileInputStream.(Unknown Source)
[2012-12-27 14:23:16 – FlashActivity] at
java.io.FileReader.(Unknown Source) [2012-12-27 14:23:16 –
FlashActivity] at
proguard.FileWordReader.(FileWordReader.java:39) [2012-12-27
14:23:16 – FlashActivity] at
proguard.ConfigurationParser.parseIncludeArgument(ConfigurationParser.java:217)
[2012-12-27 14:23:16 – FlashActivity] at
proguard.ConfigurationParser.parse(ConfigurationParser.java:124)
[2012-12-27 14:23:16 – FlashActivity] at
proguard.ProGuard.main(ProGuard.java:484)

Judging by the output, I would say that there is supposed to be a proguard.txt file in my apps bin folder, and there isn’t one.

What should this file contain if I make it?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T14:50:00+00:00Added an answer on June 16, 2026 at 2:50 pm

    You should update your Android SDK with the interactive android tool and then also update your project with

    android update project --path MyProjectDirectory
    

    This should create proguard-project.txt and update project.properties to point to this file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started using Coderush and found some stuff that I used to have
I just started using resharper and it barks at this generated assemblyinfo.cs file. Reason/Logic
I just started using rapidxml. I 1st create an xml file to read from.
I just started using/learning Python and have some questions. I have a text file
I just started using Kendo UI and did this tutorial to learn the basics,
Have just started using Google Chrome , and noticed in parts of our site,
I just started using CodeIgniter after using Zend for a while. My new site
I just started using Log4Net and was looking to see what you have found
Just started using this technique and am having strange results on the PC side.
Just started using Xcode 4.5 and I got this error in the console: Warning:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.