الكمبيوتر الكفي

الكمبيوتر الكفي (http://www.ce4arab.com/vb7/index.php)
-   ملتقى المطورين لنظام Google Android (http://www.ce4arab.com/vb7/forumdisplay.php?f=124)
-   -   كلما اردت صنع تطبيق في الايكليبس تواجهني هذه المشكلة خطا java.lang.NullPointerExcep (http://www.ce4arab.com/vb7/showthread.php?t=586518)

mirabhd 26-10-2014 10:28 PM

كلما اردت صنع تطبيق في الايكليبس تواجهني هذه المشكلة خطا java.lang.NullPointerExcep
 
[CENTER]السلام عليكم اخوتي ممكن مساعدة من فضلكم
كلما اردت صنع تطبيق في الايكليبس تواجهني هذه المشكلة
خطا java.lang.NullPointerException

للعلم النظام الذي اعمل عليه هو الماك


[/CENTER]

beyarfaj2004 04-11-2014 12:38 PM

For those who experience the same problem, here is how i fixed it: After a couple of try and errors, I found out the problem was about creating an activity in the create project wizard. If you simply deselect the create activity button at the 2nd step of the wizard, it creates the project succesfully. After that, you can add a new activity to your project easily

source: [url="http://stackoverflow.com/questions/23157352/eclipse-adt-22-6-2-still-gives-the-error-java-lang-nullpointerexception"]android - Eclipse ADT 22.6.2 still gives the error - Stack Overflow[/url]

MoGa1 04-11-2014 02:38 PM

الخطأ بعد تشغيل التطبيق او بعد تفعيل خاصية؟ تفاصيل اكثر اذا امكن.

بالمناسبة اي View مثل Button قم بتعريفه خارج ال onCreate, وابدأ انشاءه داخل onCreate.
اغلب الظن انك نسيت تعريف View.


جميع الأوقات بتوقيت GMT +3. الساعة الآن 03:06 PM.

Powered by vBulletin
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.