• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

ERROR IN ANDROID STUDIO HELP ME!!

Hello I am developing an application for mobile devices in android studio but I have encountered a problem that I can not solve:

the activity must be exported or containt
an intent-folder code: <? xml version = "1.0" encoding = "utf-8"?>
<android.support.constraint.ConstraintLayout xmlns: android = "http://schemas.android.com/apk/res/android"
xmlns: app = "http://schemas.android.com/apk/res-auto"
xmlns: tools = "http://schemas.android.com/tools"
android: layout_width = "match_parent"
Android: layout_height = "match_parent"
tools: context = ". Main2Activity">



<LinearLayout
android: layout_width = "match_parent"
Android: layout_height = "wrap_content"
android: orientation = "horizontal"> </ LinearLayout>

<Button
Android: id = "@ + id / btnBack"
android: layout_width = "384dp"
Android: layout_height = "wrap_content"
android: text = "Back"
tools: layout_editor_absoluteX = "0dp"
tools: layout_editor_absoluteY = "409dp" />

<Button
android: id = "@ + id / btnsalida"
android: layout_width = "379dp"
Android: layout_height = "wrap_content"
android: text = "Exit"
tools: layout_editor_absoluteX = "6dp"
tools: layout_editor_absoluteY = "457dp" />

</android.support.constraint.ConstraintLayout>



thanks for the attention greetings
 

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones