Answer the question
In order to leave comments, you need to log in
What are some useful articles, literature, or just technical tools for debugging a mobile application on a real device?
The essence of the question is... I made the first mobile application EXTREMELY simple, no bells and whistles, only the Appodeal SDK was unfamiliar, I did it in Android Studio, everything compiles, it works correctly on the emulator (on various devices), and on a real device it gives something like " An error has occurred in the xxxxx application" How to track where and what is wrong? By what means, what to read about them? Please tell me, otherwise I’m stupid, I’ve earned a campaign) Thank you in advance.
Answer the question
In order to leave comments, you need to log in
That hours is a list, and you are trying to put it into the index of another list.
hours = ['hour%s' % i for i in np.arange(1, 11)]
here you get a list
X[hours] = ...
here you use it as an index
So X
is a dictionary A mutable list cannot work as a dictionary key
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question