Android Question please help i have problem in Manifest

Status
Not open for further replies.

naifnas

Active Member
Licensed User
hi all
i try nbdemo
but show problem this

B4A Version: 7.30
Parsing code. (0.01s)
Compiling code. (0.13s)
Compiling layouts code. (0.03s)
Organizing libraries. (0.04s)
Generating R file. Error
AndroidManifest.xml:30: error: No resource identifier found for attribute 'parentActivityName' in package 'android'
-----------------------------------------
this Manifest
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="17"/>
<supports-screens android:largeScreens="true"
android:normalScreens="true"
android:smallScreens="true"
android:anyDensity="true"/>)

SetActivityAttribute(NotePopup, android:parentActivityName, ".NoteParent")
SetActivityAttribute(NotePopup, android:launchMode, "standard")
AddActivityText(NotePopup,<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".NoteParent"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
-------------------------------------------
please any help me?
thanks
 

naifnas

Active Member
Licensed User
hi sir Erel
this photo
 

Attachments

  • path.png
    path.png
    165.6 KB · Views: 166
  • screen.png
    screen.png
    213.5 KB · Views: 181
  • screen1.png
    screen1.png
    201.5 KB · Views: 171
Upvote 0

naifnas

Active Member
Licensed User
thanks sir NJDude and sir Erel
I Download B4ASdkManager.jar and double click on it
then Download the latest sdk tools:ttps://developer.android.com/studio/index.html#command-tools
then make new dir and save then I open sdkmanager.bat
then download all
after i change Configure Path B4a
then i test program same
I click no event I click again exit
i check another mobile same
i compile relase and debug same
:(:(:(:(:(:(:(:(:(:(:(
 

Attachments

  • path.png
    path.png
    267.3 KB · Views: 174
Upvote 0

NJDude

Expert
Licensed User
Longtime User
Ok, this is the compiled version (APK) of the code I posted before, install it on your device and run it, if you still cannot compile properly then one last time, must be your setup, that's all I can say and no one will be able to help you until you get your B4A configuration fixed.

HERE is the link.

Good luck.
 
Upvote 0

naifnas

Active Member
Licensed User
this ManiFest

B4X:
'This code will be applied to the manifest file during compilation.
'You do not need to modify it in most cases.
'See this link for for more information: http://www.b4x.com/forum/showthread.php?p=78136
AddManifestText(
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="14"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>)
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
'End of default text.
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
The path to the android.jar file seems complicated to me.
I have C:\Android\platforms\android-27\android.jar
The number can be different from 27 depending on the sdk insataled.
... android\sdk-tools-windows- looks very 'old' to me.

I would suggest you to reinstall android again in a new folder.
 
Upvote 0

naifnas

Active Member
Licensed User
thanks
I change still not work
maybe MainFest or java
this java jdk1.8
 

Attachments

  • path1.png
    path1.png
    145.3 KB · Views: 155
Upvote 0

klaus

Expert
Licensed User
Longtime User
It seems that you changed only the the number.
What I said is this directory
... android\sdk-tools-windows ...
seem s very old to me.
In the new installations you should have something like: ...android\platforms\android-xx\android.jar
Si, I repreat, uninstall android and reinstall it.
I did this quite some time ago!
 
Upvote 0

naifnas

Active Member
Licensed User
Hi..
i delete folder android then
I Download B4ASdkManager.jar and double click on it
then Download the latest sdk tools:ttps://developer.android.com/studio/index.html#command-tools
then make new dir and save then I open sdkmanager.bat
then download all
after i change Configure Path B4a
then i test program same
not work
please if have ulr download sdk
thanks all
 
Upvote 0
Status
Not open for further replies.
Top