Question about Google Android

1 Answer

Android Error I keep getting this Android error ? Binary XML file line #2: You must supply a layout_wilih attribute What does this mean? I'm lost here, please help me, Thank you.

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Novelist:

    An expert who has written 50 answers of more than 400 characters.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

  • Expert
  • 111 Answers

Hi there,

From the looks of it. your using the Android SDK right ?

have you declared layout_wilih attribute within the SDK? if not you must do that.

Also :

  1. Make sure that the SDK you are building with is the same version as the Android OS that you are running on.
  2. Make sure that you're calling setContentView() early in your onCreate() method. Calling other methods, such as setListAdapter() before calling setContentView() can sometimes create odd errors when Android tries to access screen elements that haven't been set before.
If you have any more problems. go over to http://code.google.com/android/ they will be able to help troubleshoot any more problems you may have !

Posted on Oct 29, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

Sim 3 into the future installation


What causes Extended Attributes Are Inconsistent Error Message error? The Extended Attributes Are Inconsistent Error Message error may be caused by windows system files damage. The corrupted system files entries can be a real threat to the well being of your computer.
There can be many events which may have resulted in the system files errors. An incomplete installation, an incomplete uninstall, improper deletion of applications or hardware. It can also be caused if your computer is recovered from a virus or adware/spyware attack or by an improper shutdown of the computer. All the above actives may result in the deletion or corruption of the entries in the windows system files. This corrupted system file will lead to the missing and wrongly linked information and files needed for the proper working of the application.
How to easily fix Extended Attributes Are Inconsistent Error Message error?
There are two (2) ways to fix Extended Attributes Are Inconsistent Error Message Error:
Advanced Computer User Solution (manual update):
1) Start your computer and log on as an administrator.
2) Click the Start button then select All Programs, Accessories, System Tools, and then click System Restore.
3) In the new window, select "Restore my computer to an earlier time" option and then click Next.
4) Select the most recent system restore point from the "On this list, click a restore point" list, and then click Next.
5) Click Next on the confirmation window.
6) Restarts the computer when the restoration is finished.
Novice Computer User Solution (completely automated):
1) Download (Extended Attributes Are Inconsistent Error Message ) repair utility.
2) Install program and click Scan button.
3) Click the Fix Errors button when scan is completed.
4) Restart your computer.

Jan 20, 2014 | Computers & Internet

1 Answer

XML Parsing Error at 2:32. Error 76: Mismatched tag


what website? This is a programming error that needs to be sent to the administrator.

Dec 29, 2009 | Computers & Internet

1 Answer

Contact on line but wont connect


[quote=ouquoi]Hello,
i have skype 1.4.084 on XP SP2 and i'm behind a router SMC Baricade.
All works fine one month ago !

And i can't view my friends who are online.
If some one contact me i see him online.

Somebody know how to solve the problem ?

thanks[/quote]


delete config.xml

Do not just install "over" the old version
quite often some files are not updated correct and get corrupt.

You can find Config.xml at:

Open Windows explorer select "show hidden files" in folder options

Paste or type %AppData%Skype in Windows or IE address bar.

Once you have found your Skype folder open your Skype username folder and look for the config.xml file.

delete config.xml any changes manually edited in this config.xml will be lost

exit Skype first

This config.xml will be rebuilt without any data loss, but hopefully error free, with next start of Skype.
Once you login again Skype will rebuild you config.xml file and download all you contacts.

Oct 20, 2009 | Skype IM

1 Answer

XML error and it has the error #14 message. How can I solve this?



Your template could not be parsed as it is not well-formed. Please make sure all XML elements are closed properly.
XML error message: The element type "meta" must be terminated by the matching end-tag ".



Solution:

Follow these steps and let you "XML ERROR CODE" problem dissolve.

1)Sign in your account
2)click on layout and then click edit HTML.
3)click switch/revert to classic mode.

AND then wait for the page to load and then paste ur template and save..& now you're done!

Oct 12, 2009 | Yahoo Mail

1 Answer

Problem while loading the xls file


hello my friend, the error refers to the writing of xls to xml of the file. So therefore the error committed within the software side particularly in the excel software. Try to convert another xls file to xml files then if you find same problem i advice you to used full version of office rather than using light version. Then reinstall the office particularly the excel software

Jun 16, 2009 | Microsoft Office Professional 2007 Full...

2 Answers

StartActivity fails to launch class called


This example is working try it.

Forwarding.java
----------------------

package com.example.android.apis.graphics;
import android.app.Activity;
import android.content.ActivityNotFoundException;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
public class Forwarding extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.forwarding);
Button goButton = (Button)findViewById(R.id.go);
goButton.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
try {
Intent intent = new Intent();
intent.setClass(Forwarding.this, ForwardTarget.class);
startActivity(intent);
finish();
} catch(Exception e) {
System.out.println(e.getMessage());
}
}
});
}
}


ForwardTarget
--------------------

package com.example.android.apis.graphics;
import android.app.Activity;
import android.os.Bundle;
public class ForwardTarget extends Activity
{
@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);

setContentView(R.layout.forward_target);
}
}



AndroidManifest.xml
-----------------------------

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.android.apis.graphics"
android:versionCode="1"
android:versionName="1.0.0">
<application android:icon="@drawable/icon" android:label="@string/app_name">
<activity android:name=".Forwarding"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".ForwardTarget"/>
</application>
</manifest>


forwarding.xml
---------------------

<?xml version="1.0" encoding="utf-8" ?>

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:padding="4dip"
android:gravity="center_horizontal" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_weight="0"
android:paddingBottom="4dip" android:text="forwarding" />
<Button android:id="@+id/go" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:text="go">
<requestFocus />
</Button>
</LinearLayout>

forward_target.xml
---------------------------

<?xml version="1.0" encoding="utf-8" ?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:padding="4dip"
android:gravity="center_horizontal" android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView android:layout_width="fill_parent"
android:layout_height="wrap_content" android:layout_weight="0"
android:text="forward_target" />
</LinearLayout>


Nov 03, 2008 | Google Android

Not finding what you are looking for?
Google Android Logo

Related Topics:

318 people viewed this question

Ask a Question

Usually answered in minutes!

Top Google Computers & Internet Experts

kakima

Level 3 Expert

102366 Answers

Robet
Robet

Level 2 Expert

29 Answers

Richard Solanski
Richard Solanski

Level 1 Expert

8 Answers

Are you a Google Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...