Click here to Skip to main content
15,888,285 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have to make an android app using a written c code. Is there any way to do it? and if yes then please tell me.

What I have tried:

I have tried the command using android studio terminal i.e

F:\androidstudioprojects\NDKsample\app\src\main>javah -d jni -classpath F:\soft\adt-bundle-windows-x86-20140321\sdk\platforms\android-19\android.jar;F:\soft\adt-bundle-windows-x86-2
0140321\sdk\extras\android\support\v7\appcompat\libs\android-support-v7-appcompat.jar;F:\soft\adt-bundle-windows-x86-20140321\sdk\extras\android\support\v7\appcompat\libs\android-su
pport-v4.jar;..\..\build\intermediates\classes\debug com.example.dell.ndksample.MainActivity

and still getting an error

Error: cannot access android.support.v7.app.AppCompatActivity
class file for android.support.v7.app.AppCompatActivity not found

can you please help me...?
Posted
Updated 7-Aug-16 20:56pm

1 solution

I would start with one of the many available tutorials on this topic, e.g. Native Development Kit (NDK) - An Android Tutorial[^].
 
Share this answer
 
Comments
ridoy 8-Aug-16 6:34am    
definitely, a 5 too.
CPallini 8-Aug-16 6:41am    
Thank you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900