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 8758647
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T14:36:08+00:00 2026-06-13T14:36:08+00:00

R.Java don’t create because I have errore in code an I accidentally deleted R.java.

  • 0

R.Java don’t create because I have errore in code an I accidentally deleted R.java.

Here is the code:

public SwipeyTabs(Context context, AttributeSet attrs, int defStyle) {
        super(context, attrs, defStyle);

        final TypedArray a = context.obtainStyledAttributes(attrs,
                R.styleable.SwipeyTabs, defStyle, 0);

        mBottomBarColor = a.getColor(R.styleable.SwipeyTabs_bottomBarColor,
                mBottomBarColor);
        mBottomBarHeight = a.getDimensionPixelSize(
                R.styleable.SwipeyTabs_bottomBarHeight, 2);
        mTabIndicatorHeight = a.getDimensionPixelSize(
                R.styleable.SwipeyTabs_tabIndicatorHeight, 3);

        a.recycle();

        init();



    }

And in xml

 <com.example.uniradio.SwipeyTabs
    android:id="@+id/swipeytabs"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:background="#ff3b3b3b"
    swipeytabs:bottomBarColor="#ff96aa39"
    swipeytabs:bottomBarHeight="2dip"
    swipeytabs:tabIndicatorHeight="3dip" />

Now, how do I create 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-13T14:36:09+00:00Added an answer on June 13, 2026 at 2:36 pm

    You can basically do it two ways:

    You can either run it from eclipse as suggested here, by going to Project -> Build Project, or simply running a “clean”

    build android project

    Or you can try and create an APK of your app via command line, which will then generate the .R files as well as the APK.

    If there are any errors, the command line will report it.

    To do it via command line, you can run the following:

    ant release
    

    From within your project directory

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

Sidebar

Related Questions

Okay, so I have an assignment to code (using Java,but I don't think that
I don't want to change the java code whenever there is addition of tag
I don't want to use any Java code, I just want to use <jsp:include>
I am testing a java project but i don't know about java console. Have
I have this code here, it's a button that call another jFrame to edit
The Java SE don't have a iPhone like segment button. So, I would like
I have read that in Java you don't have to explicitly bind the this
Is it possible to rewrite this C# code into java? public interface IEnumerable<out T>
I'm looking around for a Java code signing certificate so my Java applets don't
I'm doing a code review for a change in a Java product I don't

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.