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

The Archive Base Latest Questions

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

Just started to test android app development using Visual Studio 2012 & Mono droid.

  • 0

Just started to test android app development using Visual Studio 2012 & Mono droid.
So far so good, but first thing I noticed is that starting new project it did not create AndroidManifest.xml. I found out that you can generate one from Project proporties.
The result:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk />
<application>
</application>
</manifest>

I also noticed that in autogenerated Activity1.cs there is lines:

[Activity(Label = "Apptest", MainLauncher = true, Icon = "@drawable/icon")]

But the the problem rises when I try to delete that line of code above and integrate it via manifest.xml as follows:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
  <uses-sdk />
  <application android:icon="@drawable/Icon">
     <activity class=".Activity1" 
               android:label="Apptests">
       <intent-filter>
         <action android:name="android.intent.action.MAIN" />
         <category android:name="android.intent.category.LAUNCHER" />
       </intent-filter>
    </activity>
  </application>
</manifest>

This is whats happening when running project

How can I correctly describe Activity1.cs in my AndroidManifest.xml?

  • 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:15:10+00:00Added an answer on June 13, 2026 at 2:15 pm

    According to Android documentation, there is no such attribute as <Activity class="">. It should be <Activity android:name="">.

    But Mono for Android takes care of almost everything in AndroidManifest.xml using custom attributes, so you don’t have to bother adding anything to it.

    So in your case, if you insist, the activity section of your AndroidManifest.xml should be like this:

    <activity android:name=".Activity1"
    android:label="Apptests">

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

Sidebar

Related Questions

I just started looking at android app development. For my first test app i
I just started doing some Android app development, and I decided I'm going to
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I just started using the MVCContrib grid in a test project. I'm having a
I have just started using RSpec and I copied the very simple test on
Hey. I just started with Android. I'm using the ViewFlipper layout with 2 LinearLayouts.
I've just started working with Mono for Android, and am having trouble getting a
I just started using the Eclipse IDE and for a first test I created
I'm using Eclipse and the Android plug-in for my Android phone development. I just
I just did a little test: I started my app, went to a certain

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.